diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-11-30 18:36:43 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-12-12 23:53:55 +0100 |
commit | 12607c1ba7637e750402f555b6695c50fce77a2b (patch) | |
tree | 70c1079883ff32d060118180df1c86bcb68791ee /fs/f2fs/inode.c | |
parent | f2fs: introduce f2fs_is_readonly() for readability (diff) | |
download | linux-12607c1ba7637e750402f555b6695c50fce77a2b.tar.xz linux-12607c1ba7637e750402f555b6695c50fce77a2b.zip |
f2fs: specify extent cache for read explicitly
Let's descrbie it's read extent cache.
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inode.c')
-rw-r--r-- | fs/f2fs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index 577f109b4e1d..2c705c60019b 100644 --- a/fs/f2fs/inode.c +++ b/fs/f2fs/inode.c @@ -629,7 +629,7 @@ void f2fs_update_inode(struct inode *inode, struct page *node_page) if (et) { read_lock(&et->lock); - set_raw_extent(&et->largest, &ri->i_ext); + set_raw_read_extent(&et->largest, &ri->i_ext); read_unlock(&et->lock); } else { memset(&ri->i_ext, 0, sizeof(ri->i_ext)); |