Commit a7bc02f4f47fd0e7860c6589f0ad000d1476f7a3
Committed by
Adrian Bunk
1 parent
5886269962
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
Documentation/filesystems/Locking
... | ... | @@ -54,7 +54,7 @@ |
54 | 54 | |
55 | 55 | locking rules: |
56 | 56 | all may block, none have BKL |
57 | - i_sem(inode) | |
57 | + i_mutex(inode) | |
58 | 58 | lookup: yes |
59 | 59 | create: yes |
60 | 60 | link: yes (both) |
... | ... | @@ -74,7 +74,7 @@ |
74 | 74 | getxattr: no |
75 | 75 | listxattr: no |
76 | 76 | removexattr: yes |
77 | - Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_sem on | |
77 | + Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_mutex on | |
78 | 78 | victim. |
79 | 79 | cross-directory ->rename() has (per-superblock) ->s_vfs_rename_sem. |
80 | 80 | ->truncate() is never called directly - it's a callback, not a |
... | ... | @@ -461,7 +461,7 @@ |
461 | 461 | ->read on directories probably must go away - we should just enforce -EISDIR |
462 | 462 | in sys_read() and friends. |
463 | 463 | |
464 | -->fsync() has i_sem on inode. | |
464 | +->fsync() has i_mutex on inode. | |
465 | 465 | |
466 | 466 | --------------------------- dquot_operations ------------------------------- |
467 | 467 | prototypes: |