]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
NFS: put open context on error in nfs_flush_multi
authorFred Isaman <iisaman@netapp.com>
Fri, 20 Apr 2012 18:47:35 +0000 (14:47 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 May 2012 12:14:30 +0000 (13:14 +0100)
commit 8ccd271f7a3a846ce6f85ead0760d9d12994a611 upstream.

Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/nfs/write.c

index 1dda78db6a73256e8aeee11254e968f0547e4075..4efd421669921ff782c908c21bbe3aa82efc3e35 100644 (file)
@@ -974,7 +974,7 @@ out_bad:
        while (!list_empty(res)) {
                data = list_entry(res->next, struct nfs_write_data, list);
                list_del(&data->list);
-               nfs_writedata_free(data);
+               nfs_writedata_release(data);
        }
        nfs_redirty_request(req);
        return -ENOMEM;