diff options
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index f2e8fcc279a3..7b001abc73c7 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -3088,7 +3088,7 @@ process_slot: | |||
3088 | new_key.offset + datal, | 3088 | new_key.offset + datal, |
3089 | 1); | 3089 | 1); |
3090 | if (ret) { | 3090 | if (ret) { |
3091 | if (ret != -EINVAL) | 3091 | if (ret != -EOPNOTSUPP) |
3092 | btrfs_abort_transaction(trans, | 3092 | btrfs_abort_transaction(trans, |
3093 | root, ret); | 3093 | root, ret); |
3094 | btrfs_end_transaction(trans, root); | 3094 | btrfs_end_transaction(trans, root); |
@@ -3163,7 +3163,7 @@ process_slot: | |||
3163 | new_key.offset + datal, | 3163 | new_key.offset + datal, |
3164 | 1); | 3164 | 1); |
3165 | if (ret) { | 3165 | if (ret) { |
3166 | if (ret != -EINVAL) | 3166 | if (ret != -EOPNOTSUPP) |
3167 | btrfs_abort_transaction(trans, | 3167 | btrfs_abort_transaction(trans, |
3168 | root, ret); | 3168 | root, ret); |
3169 | btrfs_end_transaction(trans, root); | 3169 | btrfs_end_transaction(trans, root); |