projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
676ad58
)
GFS2: Fix error code
author
Abhijith Das
<adas@redhat.com>
Fri, 5 Feb 2010 23:25:41 +0000
(18:25 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Fri, 12 Feb 2010 10:15:51 +0000
(10:15 +0000)
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>
fs/gfs2/ops_fstype.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/ops_fstype.c
b/fs/gfs2/ops_fstype.c
index
8a102f7
..
a86ed63
100644
(file)
--- 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 = -E
INVAL
;
+ error = -E
USERS
;
if (!gfs2_jindex_size(sdp)) {
fs_err(sdp, "no journals!\n");
goto fail_jindex;