]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
vfs - check non-mountpoint dentry might block in __follow_mount_rcu()
authorIan Kent <raven@themaw.net>
Thu, 24 Mar 2011 17:51:02 +0000 (01:51 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Mar 2011 18:24:32 +0000 (14:24 -0400)
commit62a7375e5d77d654695297c4b39d5d740d901184
treeb479c60a43f22e3bb99d9ebf1af89de2a7020673
parentb81a618dcd3ea99de292dbe624f41ca68f464376
vfs - check non-mountpoint dentry might block in __follow_mount_rcu()

When following a mount in rcu-walk mode we must check if the incoming dentry
is telling us it may need to block, even if it isn't actually a mountpoint.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c