pNFS: Fix pnfs_mark_matching_lsegs_return()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 15 Feb 2016 17:36:04 +0000 (12:36 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 15 Feb 2016 17:56:01 +0000 (12:56 -0500)
commit2f21596882f4a0edc387051910d56f8732970080
treefce3aeb1615a6b37e9e69185d2588cbdef1faaf4
parent50ab8ec74a153eb30db26529088bc57dd700b24c
pNFS: Fix pnfs_mark_matching_lsegs_return()

We don't need to schedule a layoutreturn if the layout segment can
be freed immediately.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c