jhb 5bc7afa9ee A previous change moved the GETATTR RPC for open() calls that hit in the
name cache up into nfs_lookup() instead of nfs_open().  Continue this
trend by flushing the attribute cache for leaf nodes in nfs_lookup() during
an open() if we do a LOOKUP RPC.  For NFSv3 this should generally be a NOP
as the attributes are flushed before fetching the post-op attributes from
the LOOKUP RPC which most (all?) NFSv3 servers provide, so the post-op
attributes should populate the cache.

Now all NFS open() calls will always clear the cached attributes during the
nfs_lookup() prior to nfs_open() in the !NMODIFIED case to provide CTOC.
As a result, we can remove the conditional flushing of the attribute
cache from nfs_open().

Reviewed by:	rmacklem, bde
MFC after:	2 weeks
2010-07-12 14:27:49 +00:00
..
2010-07-06 10:28:19 +00:00
2010-07-11 21:12:42 +00:00
2010-07-06 20:57:28 +00:00
2010-07-12 10:18:10 +00:00
2010-07-12 12:16:11 +00:00
2010-06-26 13:20:40 +00:00
2010-06-02 17:27:23 +00:00
2010-07-12 10:22:58 +00:00
2010-05-24 16:27:47 +00:00
2010-07-12 13:38:26 +00:00