aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2008-06-24 10:50:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-07-26 20:53:16 -0400
commit2f1936b87783a3a56c9441b27b9ba7a747f11e8e (patch)
tree024a0f3da74ba6365f209d03685133760146149b /include
parentc82e42da8a6b2f3a85dc4d4278cb8238702f8f64 (diff)
[patch 3/5] vfs: change remove_suid() to file_remove_suid()
All calls to remove_suid() are made with a file pointer, because (similarly to file_update_time) it is called when the file is written. Clean up callers by passing in a file instead of a dentry. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 6c923c9b79bc..1a3546e69f9e 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1834,7 +1834,7 @@ extern void clear_inode(struct inode *);
1834extern void destroy_inode(struct inode *); 1834extern void destroy_inode(struct inode *);
1835extern struct inode *new_inode(struct super_block *); 1835extern struct inode *new_inode(struct super_block *);
1836extern int should_remove_suid(struct dentry *); 1836extern int should_remove_suid(struct dentry *);
1837extern int remove_suid(struct dentry *); 1837extern int file_remove_suid(struct file *);
1838 1838
1839extern void __insert_inode_hash(struct inode *, unsigned long hashval); 1839extern void __insert_inode_hash(struct inode *, unsigned long hashval);
1840extern void remove_inode_hash(struct inode *); 1840extern void remove_inode_hash(struct inode *);