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)
commit9b5415b536cc3193e9608a7fced1372df8ce4dcf
tree02d031861e7fa008d02bb74f46f480aed521f445
parent80a16b21a81eb639f0b726549f4c46c0e9aff92e
NFS: Fix a use-before-initialised warning in fs/nfs/write.c and fs/nfs/pnfs.c

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>
fs/nfs/pnfs.c
fs/nfs/write.c
This page took 0.026655 seconds and 5 git commands to generate.