NFS: Fix a use-before-initialised warning in fs/nfs/write.c and fs/nfs/pnfs.c
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Apr 2012 18:31:47 +0000 (14:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Apr 2012 19:03:51 +0000 (15:03 -0400)
If the allocation of nfs_write_header fails, the list of nfs_pages that
needs to be cleaned up is still on desc->pg_list...

Reported-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Fred Isaman <iisaman@netapp.com>

No differences found