aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/Locking
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2016-09-27 05:03:58 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2016-09-27 05:03:58 -0400
commit18fc84dafaac1fd63d5e6e600058eada8fc7914b (patch)
treed48fc9b796c75e21ed5fbc7777755dd824941b46 /Documentation/filesystems/Locking
parent1cd66c93ba8cdb873258f58ae6a817b28a02bcc3 (diff)
vfs: remove unused i_op->rename
No in-tree uses remain. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'Documentation/filesystems/Locking')
-rw-r--r--Documentation/filesystems/Locking6
1 files changed, 1 insertions, 5 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index d30fb2cb5066..da320bc08b9e 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -50,8 +50,6 @@ prototypes:
50 int (*mkdir) (struct inode *,struct dentry *,umode_t); 50 int (*mkdir) (struct inode *,struct dentry *,umode_t);
51 int (*rmdir) (struct inode *,struct dentry *); 51 int (*rmdir) (struct inode *,struct dentry *);
52 int (*mknod) (struct inode *,struct dentry *,umode_t,dev_t); 52 int (*mknod) (struct inode *,struct dentry *,umode_t,dev_t);
53 int (*rename) (struct inode *, struct dentry *,
54 struct inode *, struct dentry *);
55 int (*rename2) (struct inode *, struct dentry *, 53 int (*rename2) (struct inode *, struct dentry *,
56 struct inode *, struct dentry *, unsigned int); 54 struct inode *, struct dentry *, unsigned int);
57 int (*readlink) (struct dentry *, char __user *,int); 55 int (*readlink) (struct dentry *, char __user *,int);
@@ -83,7 +81,6 @@ symlink: yes
83mkdir: yes 81mkdir: yes
84unlink: yes (both) 82unlink: yes (both)
85rmdir: yes (both) (see below) 83rmdir: yes (both) (see below)
86rename: yes (all) (see below)
87rename2: yes (all) (see below) 84rename2: yes (all) (see below)
88readlink: no 85readlink: no
89get_link: no 86get_link: no
@@ -102,8 +99,7 @@ tmpfile: no
102 99
103 Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_mutex on 100 Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_mutex on
104victim. 101victim.
105 cross-directory ->rename() and rename2() has (per-superblock) 102 cross-directory ->rename2() has (per-superblock) ->s_vfs_rename_sem.
106->s_vfs_rename_sem.
107 103
108See Documentation/filesystems/directory-locking for more detailed discussion 104See Documentation/filesystems/directory-locking for more detailed discussion
109of the locking scheme for directory operations. 105of the locking scheme for directory operations.