]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - fs/nfs/dir.c
NFS: Cleanup initialisation of struct nfs_fattr
[linux-2.6.git] / fs / nfs / dir.c
index eb50c19fc2530e3aaa80968deee7b2a982d06793..b8a73045e9a0716bd02e58feb05e0412f9e47e3d 100644 (file)
@@ -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) {