linux/fs/autofs4
Ian Kent c14cc63a63 autofs4 - fix get_next_positive_dentry()
The initialization condition in fs/autofs4/expire.c:get_next_positive_dentry()
appears to be incorrect. If prev == NULL I believe that root should be
returned.

Further down, at the current dentry check for it being simple_positive()
it looks like the d_lock for dentry p should be dropped instead of dentry
ret, otherwise when p is assinged to ret we end up with no lock on p and
a lost lock on ret, which leads to a deadlock.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2011-01-18 01:21:26 -05:00
..
autofs_i.h autofs4: Merge the remaining dentry ops tables 2011-01-15 20:07:49 -05:00
dev-ioctl.c Add a dentry op to allow processes to be held during pathwalk transit 2011-01-15 20:07:31 -05:00
expire.c autofs4 - fix get_next_positive_dentry() 2011-01-18 01:21:26 -05:00
init.c convert get_sb_nodev() users 2010-10-29 04:16:31 -04:00
inode.c autofs4: Merge the remaining dentry ops tables 2011-01-15 20:07:49 -05:00
Kconfig fs/Kconfig: move autofs, autofs4 out 2009-01-22 13:15:54 +03:00
Makefile autofs4: add miscellaneous device for ioctls 2008-10-16 11:21:39 -07:00
root.c autofs4: Merge the remaining dentry ops tables 2011-01-15 20:07:49 -05:00
symlink.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
waitq.c autofs4: Fix wait validation 2011-01-15 20:07:43 -05:00