NFS: fix handling of malloc failure during nfs_flush_multi()
authorFred Isaman <iisaman@netapp.com>
Wed, 19 Jan 2011 19:18:50 +0000 (14:18 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Jan 2011 20:37:49 +0000 (15:37 -0500)
commit0da2a4ac33c291728d8be5bdb865467dcb078d13
tree7f6af191fa9020a8d4bd0cdb828fd15fecd39411
parentc56eb8fb6dccb83d9fe62fd4dc00c834de9bc470
NFS: fix handling of malloc failure during nfs_flush_multi()

Cleanup of the allocated list entries should not call
put_nfs_open_context() on each entry, as the context will
always be NULL, causing an oops.

Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c