Loading fs/file_table.c +1 −2 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ EXPORT_SYMBOL(alloc_file); * to write to @file, along with access to write through * its vfsmount. */ void drop_file_write_access(struct file *file) static void drop_file_write_access(struct file *file) { struct vfsmount *mnt = file->f_path.mnt; struct dentry *dentry = file->f_path.dentry; Loading @@ -219,7 +219,6 @@ void drop_file_write_access(struct file *file) mnt_drop_write(mnt); file_release_write(file); } EXPORT_SYMBOL_GPL(drop_file_write_access); /* the real guts of fput() - releasing the last reference to file */ Loading include/linux/file.h +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ struct file; extern void fput(struct file *); extern void drop_file_write_access(struct file *file); struct file_operations; struct vfsmount; Loading Loading
fs/file_table.c +1 −2 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ EXPORT_SYMBOL(alloc_file); * to write to @file, along with access to write through * its vfsmount. */ void drop_file_write_access(struct file *file) static void drop_file_write_access(struct file *file) { struct vfsmount *mnt = file->f_path.mnt; struct dentry *dentry = file->f_path.dentry; Loading @@ -219,7 +219,6 @@ void drop_file_write_access(struct file *file) mnt_drop_write(mnt); file_release_write(file); } EXPORT_SYMBOL_GPL(drop_file_write_access); /* the real guts of fput() - releasing the last reference to file */ Loading
include/linux/file.h +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ struct file; extern void fput(struct file *); extern void drop_file_write_access(struct file *file); struct file_operations; struct vfsmount; Loading