diff options
-rw-r--r-- | fs/nfsd/nfs4state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index aae93045ce6b..795b24d82d18 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -2737,7 +2737,7 @@ static bool nfsd4_is_deleg_cur(struct nfsd4_open *open) | |||
2737 | } | 2737 | } |
2738 | 2738 | ||
2739 | static __be32 | 2739 | static __be32 |
2740 | nfs4_check_deleg(struct nfs4_client *cl, struct nfs4_file *fp, struct nfsd4_open *open, | 2740 | nfs4_check_deleg(struct nfs4_client *cl, struct nfsd4_open *open, |
2741 | struct nfs4_delegation **dp) | 2741 | struct nfs4_delegation **dp) |
2742 | { | 2742 | { |
2743 | int flags; | 2743 | int flags; |
@@ -3062,7 +3062,7 @@ nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nf | |||
3062 | if (fp) { | 3062 | if (fp) { |
3063 | if ((status = nfs4_check_open(fp, open, &stp))) | 3063 | if ((status = nfs4_check_open(fp, open, &stp))) |
3064 | goto out; | 3064 | goto out; |
3065 | status = nfs4_check_deleg(cl, fp, open, &dp); | 3065 | status = nfs4_check_deleg(cl, open, &dp); |
3066 | if (status) | 3066 | if (status) |
3067 | goto out; | 3067 | goto out; |
3068 | } else { | 3068 | } else { |