ceph: use d_invalidate() to invalidate aliases
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 2 Sep 2013 07:19:54 +0000 (15:19 +0800)
committerSage Weil <sage@inktank.com>
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 <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/caps.c