projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index 94187721ad412c6c8da4b44e946d24ecd240beb0..75bdd51ec9b8718836b8e78c186736ce9a197e17 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;
}