Skip to content
Commit b8086c3c authored by Jan Kara's avatar Jan Kara Committed by Bruce Ashfield
Browse files

reiserfs: Avoid touching renamed directory if parent does not change



commit 49db9b1b upstream.

The VFS will not be locking moved directory if its parent does not
change. Change reiserfs rename code to avoid touching renamed directory
if its parent does not change as without locking that can corrupt the
filesystem.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarPaul Gortmaker <paulg@kernel.org>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent ea091017
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment