diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-13 03:42:24 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-15 03:33:41 +0200 |
commit | 1836750115f20b774e55c032a3893e8c5bdf41ed (patch) | |
tree | 3c0cb24361ccfb460b93b0fd6385650df80a26e6 /fs/binfmt_elf_fdpic.c | |
parent | Fix ->d_lock locking order in unlazy_walk() (diff) | |
download | linux-1836750115f20b774e55c032a3893e8c5bdf41ed.tar.xz linux-1836750115f20b774e55c032a3893e8c5bdf41ed.zip |
fix loop checks in d_materialise_unique()
Both __d_unalias() and __d_materialise_dentry() need loop prevention.
Grab rename_lock in caller, check for loops there...
As a side benefit, we have dentry_lock_for_move() called only under
rename_lock, which seriously reduces deadlock potential of the
execrable "locking order" used for ->d_lock.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions