projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warnings with !CONFIG_BLOCK
[firefly-linux-kernel-4.4.55.git]
/
fs
/
super.c
diff --git
a/fs/super.c
b/fs/super.c
index 5260d620c555fbd987eed1642649c0372670ace9..fc8ebedc6bed1aa901e24ebf8e34fd397cc6361e 100644
(file)
--- a/
fs/super.c
+++ b/
fs/super.c
@@
-884,6
+884,7
@@
vfs_kern_mount(struct file_system_type *type, int flags, const char *name, void
error = type->get_sb(type, flags, name, data, mnt);
if (error < 0)
goto out_free_secdata;
+ BUG_ON(!mnt->mnt_sb);
error = security_sb_kern_mount(mnt->mnt_sb, secdata);
if (error)