o bugfix
- get a removed dentry from an inode, reported by Andrew Vagin
In aufs, there are several places getting a dentry from an inode.
It can happen that all names are unlinked and only the inode is still
alive. In this case, d_find_alias() doesn't return any dentry and aufs
cannot find the dentry, so it simply returns an error. It is ok in most
cases. but in some cases, aufs should search a dentry even if it was
unlinked. For these cases, replace them by d_find_any_alias() which can
return a removed dentry.
This problem was found by Andrew Vagin using inotify00 test program in
http://git.criu.org/?p=criu.git;a=blob;f=test/zdtm/live/static/inotify00.c;h=587408cda5bd3bb4e3da47a657ee1258635a1ccd;hb=HEAD
J. R. Okajima
----------------------------------------
- aufs3-linux.git
aufs: bugfix, get a removed dentry from an inode
aufs: debug, more lockdep_off()
- aufs3-standalone.git
ditto
- aufs-util.git
none
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/