]> git.baikalelectronics.ru Git - kernel.git/commit
VFS: Add a whiteout dentry type
authorDavid Howells <dhowells@redhat.com>
Thu, 29 Jan 2015 12:02:27 +0000 (12:02 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Feb 2015 16:38:37 +0000 (11:38 -0500)
commit9568c6b45272a41dd81da26b2eb4de01dd73d6db
treea4313648e0c389911439deb18633951b4678561b
parent8fc881815f2a40c6e32e0e00e5c9ac0fe98aadbf
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 <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/dcache.h