NFS4: nfs4_opendata_access should return errno
authorWeston Andros Adamson <dros@netapp.com>
Fri, 2 Nov 2012 22:00:56 +0000 (18:00 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 2 Nov 2012 22:51:54 +0000 (18:51 -0400)
commit998f40b550f257e436485291802fa938e4cf580f
treeed84ccfb1020d6d074d4e07f25b6ea9a78431d3f
parentf9b1ef5f06d65a01952169b67d474f7f0dcb0206
NFS4: nfs4_opendata_access should return errno

Return errno - not an NFS4ERR_. This worked because NFS4ERR_ACCESS == EACCES.

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c