GFS2: Fix quota adjustment return code
authorBob Peterson <rpeterso@redhat.com>
Tue, 15 May 2012 18:51:54 +0000 (14:51 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 16 May 2012 11:22:38 +0000 (12:22 +0100)
commit500242ac6152b8f20903f043a86e6fdd51478845
tree5497aad0f4887aa67d3df2bf8057e5d0e51305c8
parent41db1ab9bed189cb904f7b0e145c3c6030c094c6
GFS2: Fix quota adjustment return code

This patch changes function gfs2_adjust_quota so that it properly
returns a good (zero) return code on the normal path through the code.
Without this, mounting GFS2 with -o quota=account periodically gave
this error message: GFS2: fsid=cluster:fs: gfs2_quotad: sync error -5

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/quota.c