summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2014-05-06 21:50:06 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-05-06 22:04:59 +0200
commit6b6751f7feba68d8f5c72b72cc69a1c5a625529c (patch)
treee1e229afc5de6d4626191e243afa52b72a6a0fbc /drivers/clocksource
parentmm: filemap: update find_get_pages_tag() to deal with shadow entries (diff)
downloadlinux-6b6751f7feba68d8f5c72b72cc69a1c5a625529c.tar.xz
linux-6b6751f7feba68d8f5c72b72cc69a1c5a625529c.zip
autofs: fix lockref lookup
autofs needs to be able to see private data dentry flags for its dentrys that are being created but not yet hashed and for its dentrys that have been rmdir()ed but not yet freed. It needs to do this so it can block processes in these states until a status has been returned to indicate the given operation is complete. It does this by keeping two lists, active and expring, of dentrys in this state and uses ->d_release() to keep them stable while it checks the reference count to determine if they should be used. But with the recent lockref changes dentrys being freed sometimes don't transition to a reference count of 0 before being freed so autofs can occassionally use a dentry that is invalid which can lead to a panic. Signed-off-by: Ian Kent <raven@themaw.net> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions