summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-06-08 01:39:28 +0900
committerAl Viro <viro@zeniv.linux.org.uk>2009-06-11 21:36:17 -0400
commit81fc20bd0e75ba6357bce2403767d7c2585d8f28 (patch)
treee3680d7c8184da3cbb4b7efe83fe99626d08cd68 /security
parent0c95ee190e1dea60c55c834d14695341085c9b7b (diff)
downloadop-kernel-dev-81fc20bd0e75ba6357bce2403767d7c2585d8f28.zip
op-kernel-dev-81fc20bd0e75ba6357bce2403767d7c2585d8f28.tar.gz
nilfs2: remove meaningless EBUSY case from nilfs_get_sb function
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud