NFS: Cleanup initialisation of struct nfs_fattr
[deliverable/linux.git] / fs / nfs / read.c
index 9758ebd49905a704146fffc23443890b38b8e318..43b03b19731b52bfeabfe0b063e9bc70e9d07e2d 100644 (file)
@@ -215,6 +215,7 @@ static void nfs_read_rpcsetup(struct nfs_page *req, struct nfs_read_data *data,
        data->res.fattr   = &data->fattr;
        data->res.count   = count;
        data->res.eof     = 0;
+       nfs_fattr_init(&data->fattr);
 
        NFS_PROTO(inode)->read_setup(data);
 
This page took 0.02362 seconds and 5 git commands to generate.