dcache: extrace and use d_unlinked()
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 3 May 2009 23:32:03 +0000 (03:32 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:36:06 +0000 (21:36 -0400)
commitf3da392e9ff14b9f388e74319e6d195848991c07
treed9e7660e5c0b4524aeaafcc5b89a9d68a7ca3817
parent8c85e125124a473d6f3e9bb187b0b84207f81d91
dcache: extrace and use d_unlinked()

d_unlinked() will be used in middle-term to ban checkpointing when opened
but unlinked file is detected, and in long term, to detect such situation
and special case on it.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
fs/namespace.c
include/linux/dcache.h