diff options
author | Sage Weil <sage@newdream.net> | 2011-05-27 13:42:10 -0700 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-05-28 01:02:53 -0400 |
commit | 76cc071a06afb4d2dd17bb1b855a233a419e7e02 (patch) | |
tree | 24210edc60b09e2efe562499b7b844826d051bab /fs/nilfs2/page.h | |
parent | 7ce605d93b775e8a960b0be244f7be565e73b3c1 (diff) | |
download | linux-76cc071a06afb4d2dd17bb1b855a233a419e7e02.tar.gz linux-76cc071a06afb4d2dd17bb1b855a233a419e7e02.tar.bz2 linux-76cc071a06afb4d2dd17bb1b855a233a419e7e02.zip |
ncpfs: fix rename over directory with dangling references
ncpfs does not handle references to unlinked directories (or so it would
seem given the ncp_rmdir check). Since it is also possible to rename over
an empty directory, perform the same check here.
CC: Petr Vandrovec <petr@vandrovec.name>
CC: linux-kernel@vger.kernel.org
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nilfs2/page.h')
0 files changed, 0 insertions, 0 deletions