ceph: use d_invalidate() to invalidate aliases
authorYan, Zheng <[email protected]>
Mon, 2 Sep 2013 07:19:54 +0000 (15:19 +0800)
committerSage Weil <[email protected]>
Fri, 6 Sep 2013 19:55:29 +0000 (12:55 -0700)
commita8d436f015b627a55ec3b1d15f13d6ab92dd892b
tree5965cb9c6a65598b8f2114bc75974b4c3198cde0
parented284c49f61165c3ba1b4e6969d1cc30a769c31b
ceph: use d_invalidate() to invalidate aliases

d_invalidate() is the standard VFS method to invalidate dentry.
compare to d_delete(), it also try shrinking children dentries.

Signed-off-by: Yan, Zheng <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
fs/ceph/caps.c