From cdaad9d7f27b0a9fb6a08cc1c1d353e7ef9b4a0c Mon Sep 17 00:00:00 2001 From: Andy Ryan Date: Tue, 7 Nov 2006 14:36:26 -0600 Subject: [PATCH] --- yaml --- r: 42495 b: refs/heads/master c: 46b9f8e1484352f09f229107ba2a758fe386d7f7 h: refs/heads/master i: 42493: 5c31ead96c6b6bc4938f86997f4e46fdceabd661 42491: e07064f83853cfa612d3ab570c4dba06b0190edd 42487: a33aea10be7378121395989c634d2b0b81913242 42479: 554d1c0bd11574606f02028f1ff28b8d5a1ecba3 42463: f5a86bb550520c970c89fe8e36bb61686d48e0d7 42431: 34339b7c23c07bb8285ce5e680be258cf995b1bc 42367: 3c5adf12a7a027385d9aee9ca362c87304c12bf5 42239: 7e3b0397eec3a76c5a7eed51167171d6384cfba0 41983: 132395cbbc3b9c603a78b7394b898ff7404b33c4 v: v3 --- [refs] | 2 +- trunk/fs/nfs/nfs3proc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 4ae79a36ac69..f70b17a74e69 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8aca67f0ae2d8811165c22326825a645cc8e1b48 +refs/heads/master: 46b9f8e1484352f09f229107ba2a758fe386d7f7 diff --git a/trunk/fs/nfs/nfs3proc.c b/trunk/fs/nfs/nfs3proc.c index e5f128ffc32d..9d7ff4f83faf 100644 --- a/trunk/fs/nfs/nfs3proc.c +++ b/trunk/fs/nfs/nfs3proc.c @@ -369,7 +369,7 @@ nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, /* If the server doesn't support the exclusive creation semantics, * try again with simple 'guarded' mode. */ - if (status == NFSERR_NOTSUPP) { + if (status == -ENOTSUPP) { switch (arg.createmode) { case NFS3_CREATE_EXCLUSIVE: arg.createmode = NFS3_CREATE_GUARDED;