diff options
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 091baab3eccf..5eec4429970c 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -1749,7 +1749,7 @@ static int nfs4_opendata_access(struct rpc_cred *cred, | |||
1749 | 1749 | ||
1750 | /* even though OPEN succeeded, access is denied. Close the file */ | 1750 | /* even though OPEN succeeded, access is denied. Close the file */ |
1751 | nfs4_close_state(state, fmode); | 1751 | nfs4_close_state(state, fmode); |
1752 | return -NFS4ERR_ACCESS; | 1752 | return -EACCES; |
1753 | } | 1753 | } |
1754 | 1754 | ||
1755 | /* | 1755 | /* |