diff options
| author | J. Bruce Fields <bfields@redhat.com> | 2012-10-27 00:04:08 +0400 |
|---|---|---|
| committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-08 04:31:33 +0400 |
| commit | fae5096ad217db2e3368e980c1d86223f786856b (patch) | |
| tree | efe6c90695ee97eb12364ff7756821a67ccc9f7a /include | |
| parent | 7fa10cd12df3ec0873a5db0d8dc8e978423b87dc (diff) | |
| download | linux-fae5096ad217db2e3368e980c1d86223f786856b.tar.xz | |
nfsd: assume writeable exportabled filesystems have f_sync
I don't really see how you could claim to support nfsd and not support
fsync somehow.
And in practice a quick look through the exportable filesystems suggests
the only ones without an ->fsync are read-only (efs, isofs, squashfs) or
in-memory (shmem).
Also, performing a write and then returning an error if the sync fails
(as we would do here in the wgather case) seems unhelpful to clients.
Also remove an incorrect comment.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
