projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c52b16
)
[GFS2] fix bz 231369, gfs2 will oops if you specify an invalid mount option
author
Josef Whiter
<jwhiter@redhat.com>
Wed, 7 Mar 2007 22:09:10 +0000
(17:09 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Tue, 1 May 2007 08:10:32 +0000
(09:10 +0100)
If you specify an invalid mount option when trying to mount a gfs2 filesystem,
gfs2 will oops. The attached patch resolves this problem.
Signed-off-by: Josef Whiter <jwhiter@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/glock.c
b/fs/gfs2/glock.c
index 9f203ef4da610e68e516923cc45f905bf067ad68..a3a24f2e99d2b8421c1528e0c9e7d011ada72ff6 100644
(file)
--- a/
fs/gfs2/glock.c
+++ b/
fs/gfs2/glock.c
@@
-2217,7
+2217,7
@@
int gfs2_create_debugfs_file(struct gfs2_sbd *sdp)
void gfs2_delete_debugfs_file(struct gfs2_sbd *sdp)
{
- if (sdp->debugfs_dentry)
+ if (sdp
&& sdp
->debugfs_dentry)
debugfs_remove(sdp->debugfs_dentry);
}