mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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>
This commit is contained in:
parent
676ad58553
commit
0e5a9fb042
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ static int init_journal(struct gfs2_sbd *sdp, int undo)
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
error = -EINVAL;
|
error = -EUSERS;
|
||||||
if (!gfs2_jindex_size(sdp)) {
|
if (!gfs2_jindex_size(sdp)) {
|
||||||
fs_err(sdp, "no journals!\n");
|
fs_err(sdp, "no journals!\n");
|
||||||
goto fail_jindex;
|
goto fail_jindex;
|
||||||
|
|
Loading…
Reference in a new issue