aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/nfs3proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c
index e5f128ffc32d..9d7ff4f83faf 100644
--- a/fs/nfs/nfs3proc.c
+++ b/fs/nfs/nfs3proc.c
@@ -369,7 +369,7 @@ again:
369 369
370 /* If the server doesn't support the exclusive creation semantics, 370 /* If the server doesn't support the exclusive creation semantics,
371 * try again with simple 'guarded' mode. */ 371 * try again with simple 'guarded' mode. */
372 if (status == NFSERR_NOTSUPP) { 372 if (status == -ENOTSUPP) {
373 switch (arg.createmode) { 373 switch (arg.createmode) {
374 case NFS3_CREATE_EXCLUSIVE: 374 case NFS3_CREATE_EXCLUSIVE:
375 arg.createmode = NFS3_CREATE_GUARDED; 375 arg.createmode = NFS3_CREATE_GUARDED;