+0
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The following EBUSY case in nilfs_get_sb() is meaningless. Indeed,
this error code is never returned to the caller.
if (!s->s_root) {
...
} else if (!(s->s_flags & MS_RDONLY)) {
err = -EBUSY;
}
This simply removes the else case.
Signed-off-by:
Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>