From 5f973b462c3ce044628e1f45b197fe0b182f0e38 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 12 Feb 2012 02:38:16 -0500 Subject: [PATCH] --- yaml --- r: 292320 b: refs/heads/master c: b57ce9694ec43dcb6ef6f189d6540e4b3d2c5e7a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/file_table.c | 3 +-- trunk/include/linux/file.h | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 408a011f6db4..7ff023fc5e0e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8de52778798fe39660a8d6b26f290e0c93202761 +refs/heads/master: b57ce9694ec43dcb6ef6f189d6540e4b3d2c5e7a diff --git a/trunk/fs/file_table.c b/trunk/fs/file_table.c index 20002e39754d..70f2a0fd6aec 100644 --- a/trunk/fs/file_table.c +++ b/trunk/fs/file_table.c @@ -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; @@ -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 */ diff --git a/trunk/include/linux/file.h b/trunk/include/linux/file.h index 21a79958541c..58bf158c53d9 100644 --- a/trunk/include/linux/file.h +++ b/trunk/include/linux/file.h @@ -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;