Steve French 4a5c80d7b5 [CIFS] clean up page array when uncached write send fails
In the event that a send fails in an uncached write, or we end up
needing to reissue it (-EAGAIN case), we'll kfree the wdata but
the pages currently leak.

Fix this by adding a new kref release routine for uncached writedata
that releases the pages, and have the uncached codepaths use that.

[original patch by Jeff modified to fix minor formatting problems]

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
2014-02-07 20:47:00 -06:00
..
2013-10-24 23:34:49 -04:00
2014-01-20 09:52:13 -06:00
2013-11-08 05:57:46 +09:00
2013-06-26 23:45:05 -05:00
2007-06-05 18:30:44 +00:00
2013-06-26 23:45:05 -05:00
2013-11-11 16:31:03 -06:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00