summaryrefslogtreecommitdiff
path: root/fs/erofs/xattr.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-04-25 00:15:46 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2024-04-25 00:57:14 -0400
commit958b9f85f8d9d884045ed4b93b2082090e617f97 (patch)
treea3238bd0ac2030db0d5993ad8b1fe77189f24d8c /fs/erofs/xattr.c
parent469ad583c1293f5d9f45183050b3beeb4a8c3475 (diff)
erofs_buf: store address_space instead of inode
... seeing that ->i_mapping is the only thing we want from the inode. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/erofs/xattr.c')
-rw-r--r--fs/erofs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/xattr.c b/fs/erofs/xattr.c
index ec233917830a..a90d7d649739 100644
--- a/fs/erofs/xattr.c
+++ b/fs/erofs/xattr.c
@@ -483,7 +483,7 @@ int erofs_xattr_prefixes_init(struct super_block *sb)
return -ENOMEM;
if (sbi->packed_inode)
- buf.inode = sbi->packed_inode;
+ buf.mapping = sbi->packed_inode->i_mapping;
else
erofs_init_metabuf(&buf, sb);