diff options
-rw-r--r-- | fs/nfsd/nfs4state.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index ad2bfa68d53..2d191293e6a 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -3081,9 +3081,10 @@ nfs4_preprocess_stateid_op(struct nfsd4_compound_state *cstate, | |||
3081 | if (status) | 3081 | if (status) |
3082 | goto out; | 3082 | goto out; |
3083 | renew_client(dp->dl_client); | 3083 | renew_client(dp->dl_client); |
3084 | if (filpp) | 3084 | if (filpp) { |
3085 | *filpp = find_readable_file(dp->dl_file); | 3085 | *filpp = find_readable_file(dp->dl_file); |
3086 | BUG_ON(!*filpp); | 3086 | BUG_ON(!*filpp); |
3087 | } | ||
3087 | } else { /* open or lock stateid */ | 3088 | } else { /* open or lock stateid */ |
3088 | stp = find_stateid(stateid, flags); | 3089 | stp = find_stateid(stateid, flags); |
3089 | if (!stp) | 3090 | if (!stp) |