[PATCH] nfsd4: return better error on io incompatible with open mode
[linux-2.6.git] / include / linux / nfsd / nfsd.h
index c2da1b62d416fd563e49d9c6e269a7e71b12d1d8..6d5a24f3fc6d902aad24b9c532d15dec3a863da1 100644 (file)
@@ -231,6 +231,7 @@ void                nfsd_lockd_shutdown(void);
 #define        nfserr_reclaim_bad      __constant_htonl(NFSERR_RECLAIM_BAD)
 #define        nfserr_badname          __constant_htonl(NFSERR_BADNAME)
 #define        nfserr_cb_path_down     __constant_htonl(NFSERR_CB_PATH_DOWN)
+#define        nfserr_locked           __constant_htonl(NFSERR_LOCKED)
 
 /* error codes for internal use */
 /* if a request fails due to kmalloc failure, it gets dropped.