diff options
author | hongnanli <hongnan.li@linux.alibaba.com> | 2022-01-21 15:06:11 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-02-03 10:57:53 -0500 |
commit | f340b3d9027485945d59f9c04f1e33070b02cae2 (patch) | |
tree | d7e4ce497f7150296c272d4143e04dc5b5a2c515 /fs/ext4/migrate.c | |
parent | 8fca8a2b0a822f7936130af7299d2fd7f0a66714 (diff) | |
download | linux-stable-f340b3d9027485945d59f9c04f1e33070b02cae2.tar.gz linux-stable-f340b3d9027485945d59f9c04f1e33070b02cae2.tar.bz2 linux-stable-f340b3d9027485945d59f9c04f1e33070b02cae2.zip |
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/migrate.c')
-rw-r--r-- | fs/ext4/migrate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/migrate.c b/fs/ext4/migrate.c index ff8916e1d38e..7a5353a8cfd7 100644 --- a/fs/ext4/migrate.c +++ b/fs/ext4/migrate.c @@ -485,7 +485,7 @@ int ext4_ext_migrate(struct inode *inode) * when we add extents we extent the journal */ /* - * Even though we take i_mutex we can still cause block + * Even though we take i_rwsem we can still cause block * allocation via mmap write to holes. If we have allocated * new blocks we fail migrate. New block allocation will * clear EXT4_STATE_EXT_MIGRATE flag. The flag is updated |