aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/acl.c')
-rw-r--r--fs/ext4/acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/acl.c b/fs/ext4/acl.c
index 406cf8bb12d5..39a54a0e9fe4 100644
--- a/fs/ext4/acl.c
+++ b/fs/ext4/acl.c
@@ -325,7 +325,7 @@ ext4_acl_chmod(struct inode *inode)
325 return error; 325 return error;
326retry: 326retry:
327 handle = ext4_journal_start(inode, EXT4_HT_XATTR, 327 handle = ext4_journal_start(inode, EXT4_HT_XATTR,
328 EXT4_DATA_TRANS_BLOCKS(inode->i_sb)); 328 ext4_jbd2_credits_xattr(inode));
329 if (IS_ERR(handle)) { 329 if (IS_ERR(handle)) {
330 error = PTR_ERR(handle); 330 error = PTR_ERR(handle);
331 ext4_std_error(inode->i_sb, error); 331 ext4_std_error(inode->i_sb, error);
@@ -423,7 +423,7 @@ ext4_xattr_set_acl(struct dentry *dentry, const char *name, const void *value,
423 423
424retry: 424retry:
425 handle = ext4_journal_start(inode, EXT4_HT_XATTR, 425 handle = ext4_journal_start(inode, EXT4_HT_XATTR,
426 EXT4_DATA_TRANS_BLOCKS(inode->i_sb)); 426 ext4_jbd2_credits_xattr(inode));
427 if (IS_ERR(handle)) { 427 if (IS_ERR(handle)) {
428 error = PTR_ERR(handle); 428 error = PTR_ERR(handle);
429 goto release_and_out; 429 goto release_and_out;