From: Fred Isaman <iisaman@xxxxxxxxxx> nfs_pageio_doio can be repeatedly triggered, in which case it is possible for an lseg which has already been put to be used and put again without matching gets. Signed-off-by: Fred Isaman <iisaman@xxxxxxxxxx> --- fs/nfs/pagelist.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c index b49cb4b..45b0fb8 100644 --- a/fs/nfs/pagelist.c +++ b/fs/nfs/pagelist.c @@ -318,6 +318,7 @@ static void nfs_pageio_doio(struct nfs_pageio_descriptor *desc) desc->pg_count, desc->pg_ioflags, desc->pg_lseg); + desc->pg_lseg = NULL; if (error < 0) desc->pg_error = error; else -- 1.6.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html