diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-05-07 20:47:49 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-09 02:39:00 -0400 |
commit | 1fa97e8b1f327059aa98089abd8c3378cdf43017 (patch) | |
tree | af9d5f877acce4a828e34d39b03c4d8dbef7bc7b /include/linux/fs.h | |
parent | 19d860a140beac48a1377f179e693abe86a9dac9 (diff) |
constify file_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-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 | } |