aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_inode.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-06-24 15:42:21 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-06-24 15:42:21 -0400
commitaf18ddb8864b096e3ed4732e2d4b21c956dcfe3a (patch)
tree7077bfdc2d7425153f90350739cadf8b5b3cf8e3 /fs/gfs2/ops_inode.c
parenta53311d4d9e1cde15aebc2048847ea19fb33ac3a (diff)
[GFS2] Eliminate one instance of __GFP_NOFAIL
This removes one instance of GFP_NOFAIL from the glock callback function. It also fixes a bug where a , was used at a line end rather than ; causing unintended results. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r--fs/gfs2/ops_inode.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index 5d5ebbcba534..8895baafc640 100644
--- a/fs/gfs2/ops_inode.c
+++ b/fs/gfs2/ops_inode.c
@@ -962,10 +962,8 @@ static int setattr_chown(struct inode *inode, struct iattr *attr)
962 brelse(dibh); 962 brelse(dibh);
963 963
964 if (ouid != NO_QUOTA_CHANGE || ogid != NO_QUOTA_CHANGE) { 964 if (ouid != NO_QUOTA_CHANGE || ogid != NO_QUOTA_CHANGE) {
965 gfs2_quota_change(ip, -ip->i_di.di_blocks, 965 gfs2_quota_change(ip, -ip->i_di.di_blocks, ouid, ogid);
966 ouid, ogid); 966 gfs2_quota_change(ip, ip->i_di.di_blocks, nuid, ngid);
967 gfs2_quota_change(ip, ip->i_di.di_blocks,
968 nuid, ngid);
969 } 967 }
970 968
971 out_end_trans: 969 out_end_trans: