]> 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)
commitf6e2b2846d967a80f9e04abc380a4573890007af
treefed9c43fab08ae9c06943a4370a58fc918776b50
parent5ee7b765cdda9919a0188eb155a354b910d261c4
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