From: Abhijith Das Date: Fri, 5 Feb 2010 23:25:41 +0000 (-0500) Subject: GFS2: Fix error code X-Git-Tag: v2.6.33-rc8~6^2~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0e5a9fb0426108d750c97c25b1ab04d3768b5aff;p=~shefty%2Frdma-dev.git GFS2: Fix error code We need this one-liner to signal the mount helper of the 'insufficient journals' condition. Signed-off-by: Abhijith Das Signed-off-by: Steven Whitehouse --- diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index 8a102f73100..a86ed638156 100644 --- a/fs/gfs2/ops_fstype.c +++ b/fs/gfs2/ops_fstype.c @@ -725,7 +725,7 @@ static int init_journal(struct gfs2_sbd *sdp, int undo) goto fail; } - error = -EINVAL; + error = -EUSERS; if (!gfs2_jindex_size(sdp)) { fs_err(sdp, "no journals!\n"); goto fail_jindex;