VFS: Add a whiteout dentry type
authorDavid Howells <[email protected]>
Thu, 29 Jan 2015 12:02:27 +0000 (12:02 +0000)
committerAl Viro <[email protected]>
Sun, 22 Feb 2015 16:38:37 +0000 (11:38 -0500)
commite7f7d2253c05143ed76ddc5e11f4cf0a9b814a27
treea4313648e0c389911439deb18633951b4678561b
parent155e35d4daa804582f75acaa2c74ec797a89c615
VFS: Add a whiteout dentry type

Add DCACHE_WHITEOUT_TYPE and provide a d_is_whiteout() accessor function.  A
d_is_miss() accessor is also added for ordinary cache misses and
d_is_negative() is modified to indicate either an ordinary miss or an enforced
miss (whiteout).

Signed-off-by: David Howells <[email protected]>
Signed-off-by: Al Viro <[email protected]>
include/linux/dcache.h