]> git.baikalelectronics.ru Git - kernel.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)
commit22403488495983e95db37b48bfb41b9860c8de4f
treeb479c60a43f22e3bb99d9ebf1af89de2a7020673
parent6da9fef88f30b63bfd9b312b1ea6111359a4a361
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