diff options
Diffstat (limited to 'fs/nfsd/nfs4recover.c')
-rw-r--r-- | fs/nfsd/nfs4recover.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c index 9371ea12d7fa..0f9d6efaa62b 100644 --- a/fs/nfsd/nfs4recover.c +++ b/fs/nfsd/nfs4recover.c | |||
@@ -233,6 +233,7 @@ nfsd4_list_rec_dir(struct dentry *dir, recdir_func *f) | |||
233 | status = nfs4_save_creds(&original_cred); | 233 | status = nfs4_save_creds(&original_cred); |
234 | if (status < 0) | 234 | if (status < 0) |
235 | return status; | 235 | return status; |
236 | INIT_LIST_HEAD(dentries); | ||
236 | 237 | ||
237 | filp = dentry_open(dget(dir), mntget(rec_dir.mnt), O_RDONLY, | 238 | filp = dentry_open(dget(dir), mntget(rec_dir.mnt), O_RDONLY, |
238 | current_cred()); | 239 | current_cred()); |