Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

vfs: drop_file_write_access() made static

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro b57ce969 8de52778

+1 -3
+1 -2
fs/file_table.c
··· 204 204 * to write to @file, along with access to write through 205 205 * its vfsmount. 206 206 */ 207 - void drop_file_write_access(struct file *file) 207 + static void drop_file_write_access(struct file *file) 208 208 { 209 209 struct vfsmount *mnt = file->f_path.mnt; 210 210 struct dentry *dentry = file->f_path.dentry; ··· 219 219 mnt_drop_write(mnt); 220 220 file_release_write(file); 221 221 } 222 - EXPORT_SYMBOL_GPL(drop_file_write_access); 223 222 224 223 /* the real guts of fput() - releasing the last reference to file 225 224 */
-1
include/linux/file.h
··· 12 12 struct file; 13 13 14 14 extern void fput(struct file *); 15 - extern void drop_file_write_access(struct file *file); 16 15 17 16 struct file_operations; 18 17 struct vfsmount;