Commit 1fa97e8b authored by Al Viro's avatar Al Viro

constify file_inode()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 19d860a1
......@@ -1874,7 +1874,7 @@ extern int current_umask(void);
extern void ihold(struct inode * inode);
extern void iput(struct inode *);
static inline struct inode *file_inode(struct file *f)
static inline struct inode *file_inode(const struct file *f)
{
return f->f_inode;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment