aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/eattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/eattr.c')
-rw-r--r--fs/gfs2/eattr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/gfs2/eattr.c b/fs/gfs2/eattr.c
index 288d5e6ad93a..81755925a755 100644
--- a/fs/gfs2/eattr.c
+++ b/fs/gfs2/eattr.c
@@ -686,14 +686,10 @@ static int ea_alloc_skeleton(struct gfs2_inode *ip, struct gfs2_ea_request *er,
686 if (!al) 686 if (!al)
687 return -ENOMEM; 687 return -ENOMEM;
688 688
689 error = gfs2_quota_lock(ip, NO_QUOTA_CHANGE, NO_QUOTA_CHANGE); 689 error = gfs2_quota_lock_check(ip);
690 if (error) 690 if (error)
691 goto out; 691 goto out;
692 692
693 error = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid);
694 if (error)
695 goto out_gunlock_q;
696
697 al->al_requested = blks; 693 al->al_requested = blks;
698 694
699 error = gfs2_inplace_reserve(ip); 695 error = gfs2_inplace_reserve(ip);