]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r227543
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 3 Jan 2012 04:12:40 +0000 (04:12 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 3 Jan 2012 04:12:40 +0000 (04:12 +0000)
commitabf17d95bb0821a5137f8305cf2f95a76aa5d13b
treec74afde410949f96c5139d23d509b4b5b9a58a7d
parenteaf5ca46735885b6d3788fed42170615b63072ba
MFC: r227543
Modify the new NFS client so that nfs_fsync() only calls ncl_flush()
for regular files. Since other file types don't write into the
buffer cache, calling ncl_flush() is almost a no-op. However, it does
clear the NMODIFIED flag and this shouldn't be done by nfs_fsync() for
directories.

git-svn-id: svn://svn.freebsd.org/base/stable/8@229365 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clvnops.c