]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: clean up rest of reqs when failing to add one
authorPeng Tao <tao.peng@primarydata.com>
Fri, 4 Dec 2015 17:59:56 +0000 (01:59 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 19:32:37 +0000 (14:32 -0500)
commit15d3e65468a156f7d94cd10f632e9f6562b93e46
treefed9c43fab08ae9c06943a4370a58fc918776b50
parentdf5de871ea1dae6310d3c5ff2719d3a1ae320b4b
nfs: clean up rest of reqs when failing to add one

If we fail to set up things before sending anything over wire,
we need to clean up the reqs that are still attached to the
IO descriptor.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pagelist.c