LINUX: dcache updates for mkdir and sillyrename 41/12141/4
authorChas Williams <3chas3@gmail.com>
Fri, 25 Dec 2015 11:37:06 +0000 (06:37 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 5 May 2016 03:20:37 +0000 (23:20 -0400)
commita9945c22185cfa22270a7b66d6ba356c2d9d8841
tree1761210f8e652d4a37f91d9abbd4fa971af9bc67
parent687b4d8af07dbcf187dea685e75b420884727efd
LINUX: dcache updates for mkdir and sillyrename

Commit d075b0549d62e4a81b7543b9c2f5dac242074909 introduced
parent_vcache_dv() to get the data version from fakestat mount points.
.mkdir (essentially .create for directories) should use this when
updating ->d_time.

In sillyrename, __dp is a negative dentry that should be forced to
revalidate since the new name in dentry now exists.

Change-Id: I5b112ce0437bfb061479024fee745b46821e599c
Reviewed-on: https://gerrit.openafs.org/12141
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_vnodeops.c