NFS: Cleanup initialisation of struct nfs_fattr
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
@@ -532,6 +532,7 @@ static int nfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
|
||||
my_entry.eof = 0;
|
||||
my_entry.fh = &fh;
|
||||
my_entry.fattr = &fattr;
|
||||
nfs_fattr_init(&fattr);
|
||||
desc->entry = &my_entry;
|
||||
|
||||
while(!desc->entry->eof) {
|
||||
|
Reference in New Issue
Block a user