summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/nfs3.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/nfs/server/src/nfs3.c')
-rw-r--r--xlators/nfs/server/src/nfs3.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/xlators/nfs/server/src/nfs3.c b/xlators/nfs/server/src/nfs3.c
index 8cf4db8174a..67b619ece13 100644
--- a/xlators/nfs/server/src/nfs3.c
+++ b/xlators/nfs/server/src/nfs3.c
@@ -2240,24 +2240,6 @@ nfs3_write_resume (void *carg)
cs->fd = fd; /* Gets unrefd when the call state is wiped. */
-/*
- enum stable_how {
- UNSTABLE = 0,
- DATA_SYNC = 1,
- FILE_SYNC = 2,
- };
-*/
- switch (cs->writetype) {
- case UNSTABLE:
- break;
- case DATA_SYNC:
- fd->flags |= O_DSYNC;
- break;
- case FILE_SYNC:
- fd->flags |= O_SYNC;
- break;
- }
-
ret = __nfs3_write_resume (cs);
if (ret < 0)
stat = nfs3_errno_to_nfsstat3 (-ret);