diff options
author | Abhijith Das <adas@redhat.com> | 2010-02-06 00:25:41 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-02-12 11:15:51 +0100 |
commit | 0e5a9fb0426108d750c97c25b1ab04d3768b5aff (patch) | |
tree | 99a3b2f6ff12b9e55b6590210d0a5ef8e852156b /fs/gfs2 | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp (diff) | |
download | linux-0e5a9fb0426108d750c97c25b1ab04d3768b5aff.tar.xz linux-0e5a9fb0426108d750c97c25b1ab04d3768b5aff.zip |
GFS2: Fix error code
We need this one-liner to signal the mount helper of the 'insufficient journals' condition.
Signed-off-by: Abhijith Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/ops_fstype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index 8a102f731003..a86ed6381566 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; |