diff options
| author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-05-09 01:53:16 -0400 |
|---|---|---|
| committer | Adrian Bunk <bunk@stusta.de> | 2007-05-09 02:58:17 -0400 |
| commit | a7bc02f4f47fd0e7860c6589f0ad000d1476f7a3 (patch) | |
| tree | 293c8ffceab614020495be8efb68847f58b75495 /Documentation/filesystems/Locking | |
| parent | 5886269962f94fa9185c32db3ec936c612503235 (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>
Diffstat (limited to 'Documentation/filesystems/Locking')
| -rw-r--r-- | Documentation/filesystems/Locking | 6 |
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 | ||
| 55 | locking rules: | 55 | locking rules: |
| 56 | all may block, none have BKL | 56 | all may block, none have BKL |
| 57 | i_sem(inode) | 57 | i_mutex(inode) |
| 58 | lookup: yes | 58 | lookup: yes |
| 59 | create: yes | 59 | create: yes |
| 60 | link: yes (both) | 60 | link: yes (both) |
| @@ -74,7 +74,7 @@ setxattr: yes | |||
| 74 | getxattr: no | 74 | getxattr: no |
| 75 | listxattr: no | 75 | listxattr: no |
| 76 | removexattr: yes | 76 | removexattr: yes |
| 77 | Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_sem on | 77 | Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_mutex on |
| 78 | victim. | 78 | victim. |
| 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 |
| 462 | in sys_read() and friends. | 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 | --------------------------- dquot_operations ------------------------------- | 466 | --------------------------- dquot_operations ------------------------------- |
| 467 | prototypes: | 467 | prototypes: |
