Whamcloud - gitweb
LU-13929 lnet: modify assertion in lnet_post_send_locked
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / rhel8.3 / ext4-xattr-disable-credits-check.patch
1 Index: linux-4.18.0-240.1.1.el8/fs/ext4/xattr.c
2 ===================================================================
3 --- linux-4.18.0-240.1.1.el8.orig/fs/ext4/xattr.c
4 +++ linux-4.18.0-240.1.1.el8/fs/ext4/xattr.c
5 @@ -2318,10 +2318,6 @@ ext4_xattr_set_handle(handle_t *handle,
6                                                    flags & XATTR_CREATE);
7                 brelse(bh);
8  
9 -               if (jbd2_handle_buffer_credits(handle) < credits) {
10 -                       error = -ENOSPC;
11 -                       goto cleanup;
12 -               }
13         }
14  
15         error = ext4_reserve_inode_write(handle, inode, &is.iloc);