mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[fix] get rid of checking for absent device name in vfs_get_tree()
It has no business being there, it's checked by relevant ->get_tree()
as it is *and* it returns the wrong error for no reason whatsoever.
Fixes: f3a09c9201 "introduce fs_context methods"
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
f51dcd0f62
commit
ee948837d7
1 changed files with 0 additions and 5 deletions
|
|
@ -1467,11 +1467,6 @@ int vfs_get_tree(struct fs_context *fc)
|
|||
struct super_block *sb;
|
||||
int error;
|
||||
|
||||
if (fc->fs_type->fs_flags & FS_REQUIRES_DEV && !fc->source) {
|
||||
errorf(fc, "Filesystem requires source device");
|
||||
return -ENOENT;
|
||||
}
|
||||
|
||||
if (fc->root)
|
||||
return -EBUSY;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue