X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=fs%2Fnfsd%2Fauth.c;h=b42eaf3aac160faedaf207863b2501393c702761;hb=d5497fc693a446ce9100fcf4117c3f795ddfd0d2;hp=79717a40daba2e57cb8460f885dc09b8db63ccc8;hpb=8fbba96e5b327665265ad02b7f331b68536828bf;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c index 79717a4..b42eaf3 100644 --- a/fs/nfsd/auth.c +++ b/fs/nfsd/auth.c @@ -10,7 +10,7 @@ int nfsexp_flags(struct svc_rqst *rqstp, struct svc_export *exp) struct exp_flavor_info *end = exp->ex_flavors + exp->ex_nflavors; for (f = exp->ex_flavors; f < end; f++) { - if (f->pseudoflavor == rqstp->rq_flavor) + if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) return f->flags; } return exp->ex_flags;