diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-06-24 15:42:21 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-06-24 15:42:21 -0400 |
commit | af18ddb8864b096e3ed4732e2d4b21c956dcfe3a (patch) | |
tree | 7077bfdc2d7425153f90350739cadf8b5b3cf8e3 /fs/gfs2/ops_inode.c | |
parent | a53311d4d9e1cde15aebc2048847ea19fb33ac3a (diff) | |
download | linux-af18ddb8864b096e3ed4732e2d4b21c956dcfe3a.tar.gz linux-af18ddb8864b096e3ed4732e2d4b21c956dcfe3a.tar.bz2 linux-af18ddb8864b096e3ed4732e2d4b21c956dcfe3a.zip |
[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.c | 6 |
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) brelse(dibh); if (ouid != NO_QUOTA_CHANGE || ogid != NO_QUOTA_CHANGE) { - gfs2_quota_change(ip, -ip->i_di.di_blocks, - ouid, ogid); - gfs2_quota_change(ip, ip->i_di.di_blocks, - nuid, ngid); + gfs2_quota_change(ip, -ip->i_di.di_blocks, ouid, ogid); + gfs2_quota_change(ip, ip->i_di.di_blocks, nuid, ngid); } out_end_trans: |