[PATCH 3.16.y-ckt 090/185] pNFS: Fix a memory leak when attempted pnfs fails

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 1ca018d28d96d07788474abf66a5f3e9594841f5 upstream. pnfs_do_write() expects the call to pnfs_write_through_mds() to free the pgio header and to release the

[PATCH 3.16.y-ckt 090/185] pNFS: Fix a memory leak when attempted pnfs fails

2015-07-15 Thread Luis Henriques
3.16.7-ckt15 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust trond.mykleb...@primarydata.com commit 1ca018d28d96d07788474abf66a5f3e9594841f5 upstream. pnfs_do_write() expects the call to pnfs_write_through_mds() to free the