summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inode.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2022-11-30 18:36:43 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2022-12-12 23:53:55 +0100
commit12607c1ba7637e750402f555b6695c50fce77a2b (patch)
tree70c1079883ff32d060118180df1c86bcb68791ee /fs/f2fs/inode.c
parentf2fs: introduce f2fs_is_readonly() for readability (diff)
downloadlinux-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.c2
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));