NFSv4: Fix free of uninitialized nfs4_label on referral lookup.
[linux-2.6-microblaze.git] / include / linux / nfs_xdr.h
index 4a8ba84..0e3aa0f 100644 (file)
@@ -1222,7 +1222,7 @@ struct nfs4_fs_location {
 
 #define NFS4_FS_LOCATIONS_MAXENTRIES 10
 struct nfs4_fs_locations {
-       struct nfs_fattr fattr;
+       struct nfs_fattr *fattr;
        const struct nfs_server *server;
        struct nfs4_pathname fs_path;
        int nlocations;