projects
/
unionfs-3.6.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f032521
)
Unionfs: Check remount options for being NULL
author
Adrian Brunyate
<abrunyate@yahoo.com>
Thu, 26 Apr 2007 22:51:16 +0000
(18:51 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 24 Nov 2013 07:50:40 +0000
(
02:50
-0500)
Signed-off-by: Adrian Brunyate <abrunyate@yahoo.com>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
fs/unionfs/super.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/super.c
b/fs/unionfs/super.c
index ee12d030ca1cd4bab2221d3191b1af0681690c0c..02c0cc862089a12394acd4399e11677de6fc30c9 100644
(file)
--- a/
fs/unionfs/super.c
+++ b/
fs/unionfs/super.c
@@
-442,7
+442,7
@@
static int unionfs_remount_fs(struct super_block *sb, int *flags,
* the union to a "ro" or "rw" and the VFS took care of it. So
* nothing to do and we're done.
*/
- if (options[0] == '\0')
+ if (
!options ||
options[0] == '\0')
goto out_error;
/*