projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19d860a
)
constify file_inode()
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 8 May 2014 00:47:49 +0000
(20:47 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:00 +0000
(
02:39
-0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/fs.h
patch
|
blob
|
history
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index
9418772
..
75bdd51
100644
(file)
--- a/
include/linux/fs.h
+++ b/
include/linux/fs.h
@@
-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;
}