Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 committed Nov 1, 2024
1 parent 8a1aae1 commit 3a95609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ int do_setxattr(struct mnt_idmap *idmap, struct dentry *dentry,
#ifdef CONFIG_TRUENAS
if (ctx->size &&
(ctx->size > XATTR_SIZE_MAX) &&
(IS_LARGE_XATTR(d->d_inode) == 0)) {
(IS_LARGE_XATTR(dentry->d_inode) == 0)) {
return -E2BIG;
}
#endif
Expand Down

0 comments on commit 3a95609

Please sign in to comment.