Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'fixes_for_v5.5-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

Pull reiserfs fix from Jan Kara:
"A fixup of a recently merged reiserfs fix which has caused problem
when xattrs were not compiled in"

* tag 'fixes_for_v5.5-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
reiserfs: fix handling of -EOPNOTSUPP in reiserfs_for_each_xattr

+6 -2
+6 -2
fs/reiserfs/xattr.c
··· 319 319 out_dir: 320 320 dput(dir); 321 321 out: 322 - /* -ENODATA isn't an error */ 323 - if (err == -ENODATA) 322 + /* 323 + * -ENODATA: this object doesn't have any xattrs 324 + * -EOPNOTSUPP: this file system doesn't have xattrs enabled on disk. 325 + * Neither are errors 326 + */ 327 + if (err == -ENODATA || err == -EOPNOTSUPP) 324 328 err = 0; 325 329 return err; 326 330 }