diff options
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 94187721ad41..75bdd51ec9b8 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1874,7 +1874,7 @@ extern int current_umask(void); | |||
1874 | extern void ihold(struct inode * inode); | 1874 | extern void ihold(struct inode * inode); |
1875 | extern void iput(struct inode *); | 1875 | extern void iput(struct inode *); |
1876 | 1876 | ||
1877 | static inline struct inode *file_inode(struct file *f) | 1877 | static inline struct inode *file_inode(const struct file *f) |
1878 | { | 1878 | { |
1879 | return f->f_inode; | 1879 | return f->f_inode; |
1880 | } | 1880 | } |