Whamcloud - gitweb
LU-12652 ldiskfs: disable credits check in 4.18
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / rhel8 / ext4-xattr-disable-credits-check.patch
1 Index: linux-4.18.0-32.el8.x86_64/fs/ext4/xattr.c
2 ===================================================================
3 --- linux-4.18.0-32.el8.x86_64.orig/fs/ext4/xattr.c
4 +++ linux-4.18.0-32.el8.x86_64/fs/ext4/xattr.c
5 @@ -655,10 +655,6 @@ enum {
6                                                    flags & XATTR_CREATE);
7                 brelse(bh);
8
9 -               if (!ext4_handle_has_enough_credits(handle, credits)) {
10 -                       error = -ENOSPC;
11 -                       goto cleanup;
12 -               }
13         }
14
15         error = ext4_reserve_inode_write(handle, inode, &is.iloc);