diff options
author | hongnanli <hongnan.li@linux.alibaba.com> | 2022-01-21 10:06:11 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-02-03 18:57:53 +0300 |
commit | f340b3d9027485945d59f9c04f1e33070b02cae2 (patch) | |
tree | d7e4ce497f7150296c272d4143e04dc5b5a2c515 /fs/ext4/ext4_jbd2.h | |
parent | 8fca8a2b0a822f7936130af7299d2fd7f0a66714 (diff) | |
download | linux-f340b3d9027485945d59f9c04f1e33070b02cae2.tar.xz |
fs/ext4: fix comments mentioning i_mutex
inode->i_mutex has been replaced with inode->i_rwsem long ago. Fix
comments still mentioning i_mutex.
Signed-off-by: hongnanli <hongnan.li@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220121070611.21618-1-hongnan.li@linux.alibaba.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_jbd2.h')
-rw-r--r-- | fs/ext4/ext4_jbd2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h index 0e4fa644df01..db2ae4a2b38d 100644 --- a/fs/ext4/ext4_jbd2.h +++ b/fs/ext4/ext4_jbd2.h @@ -491,7 +491,7 @@ static inline int ext4_free_data_revoke_credits(struct inode *inode, int blocks) /* * This function controls whether or not we should try to go down the * dioread_nolock code paths, which makes it safe to avoid taking - * i_mutex for direct I/O reads. This only works for extent-based + * i_rwsem for direct I/O reads. This only works for extent-based * files, and it doesn't work if data journaling is enabled, since the * dioread_nolock code uses b_private to pass information back to the * I/O completion handler, and this conflicts with the jbd's use of |