summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_inode.c
diff options
context:
space:
mode:
authorSteven Whitehouse2006-06-24 21:42:21 +0200
committerSteven Whitehouse2006-06-24 21:42:21 +0200
commitaf18ddb8864b096e3ed4732e2d4b21c956dcfe3a (patch)
tree7077bfdc2d7425153f90350739cadf8b5b3cf8e3 /fs/gfs2/ops_inode.c
parent[GFS2] Use generic_file_sendfile directly (diff)
downloadkernel-qcow2-linux-af18ddb8864b096e3ed4732e2d4b21c956dcfe3a.tar.gz
kernel-qcow2-linux-af18ddb8864b096e3ed4732e2d4b21c956dcfe3a.tar.xz
kernel-qcow2-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.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)
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: