projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/gfs2/ops_fstype.c
b/fs/gfs2/ops_fstype.c
index 8a102f7310034110b6438d932c12094d0cd7b5eb..a86ed63815667f456a88e24cad30e3a60bb67e34 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;