aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-05-09 01:53:16 -0400
committerAdrian Bunk <bunk@stusta.de>2007-05-09 02:58:17 -0400
commita7bc02f4f47fd0e7860c6589f0ad000d1476f7a3 (patch)
tree293c8ffceab614020495be8efb68847f58b75495
parent5886269962f94fa9185c32db3ec936c612503235 (diff)
trivial: s/i_sem /i_mutex/
This patch substitutes i_sem by i_mutex in Documentation/filesystems/Locking. The patch also removes a couple of trailing white-spaces. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r--Documentation/filesystems/Locking6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index 59c14159cc47..d866551be037 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -54,7 +54,7 @@ ata *);
54 54
55locking rules: 55locking rules:
56 all may block, none have BKL 56 all may block, none have BKL
57 i_sem(inode) 57 i_mutex(inode)
58lookup: yes 58lookup: yes
59create: yes 59create: yes
60link: yes (both) 60link: yes (both)
@@ -74,7 +74,7 @@ setxattr: yes
74getxattr: no 74getxattr: no
75listxattr: no 75listxattr: no
76removexattr: yes 76removexattr: yes
77 Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_sem on 77 Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_mutex on
78victim. 78victim.
79 cross-directory ->rename() has (per-superblock) ->s_vfs_rename_sem. 79 cross-directory ->rename() has (per-superblock) ->s_vfs_rename_sem.
80 ->truncate() is never called directly - it's a callback, not a 80 ->truncate() is never called directly - it's a callback, not a
@@ -461,7 +461,7 @@ doesn't take the BKL.
461->read on directories probably must go away - we should just enforce -EISDIR 461->read on directories probably must go away - we should just enforce -EISDIR
462in sys_read() and friends. 462in sys_read() and friends.
463 463
464->fsync() has i_sem on inode. 464->fsync() has i_mutex on inode.
465 465
466--------------------------- dquot_operations ------------------------------- 466--------------------------- dquot_operations -------------------------------
467prototypes: 467prototypes: