nfsd: rename MAY_ flags
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / nfsd / nfsfh.c
index 100ae5641162b97c7fb0e57032a9b30ecc5b899e..c7b0fdaeac961ae0deec8c0c2139d0bf7a07eec5 100644 (file)
@@ -279,7 +279,7 @@ fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access)
        if (error)
                goto out;
 
-       if (!(access & MAY_LOCK)) {
+       if (!(access & NFSD_MAY_LOCK)) {
                /*
                 * pseudoflavor restrictions are not enforced on NLM,
                 * which clients virtually always use auth_sys for,