1
0
Fork 0

constify file_inode()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
hifive-unleashed-5.1
Al Viro 2014-05-07 20:47:49 -04:00
parent 19d860a140
commit 1fa97e8b1f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}