aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorJeff Mahoney <[email protected]>2020-01-15 13:00:59 -0500
committerJan Kara <[email protected]>2020-01-16 16:49:29 +0100
commit394440d469413fa9b74f88a11f144d76017221f2 (patch)
treeaa4036c11f17a01f05e09dbc635cec0061d1cc82 /scripts/gen_compile_commands.py
parentc79f46a282390e0f5b306007bf7b11a46d529538 (diff)
reiserfs: fix handling of -EOPNOTSUPP in reiserfs_for_each_xattr
Commit 60e4cf67a58 (reiserfs: fix extended attributes on the root directory) introduced a regression open_xa_root started returning -EOPNOTSUPP but it was not handled properly in reiserfs_for_each_xattr. When the reiserfs module is built without CONFIG_REISERFS_FS_XATTR, deleting an inode would result in a warning and chowning an inode would also result in a warning and then fail to complete. With CONFIG_REISERFS_FS_XATTR enabled, the xattr root would always be present for read-write operations. This commit handles -EOPNOSUPP in the same way -ENODATA is handled. Fixes: 60e4cf67a582 ("reiserfs: fix extended attributes on the root directory") CC: [email protected] # Commit 60e4cf67a58 was picked up by stable Link: https://lore.kernel.org/r/[email protected] Reported-by: Michael Brunnbauer <[email protected]> Signed-off-by: Jeff Mahoney <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions