From: Andy Adamson <andros@xxxxxxxxxx> Prepare to remove unused threshold calculations Squash into: "pnfs:read" Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> --- fs/nfs/pnfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 57d3ff0..618bb08 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -1834,7 +1834,7 @@ _pnfs_try_to_read_data(struct nfs_read_data *data, dprintk("--> %s\n", __func__); /* Only create an rpc request if utilizing NFSv4 I/O */ - if (!pnfs_use_read(ino, data->args.count) || + if (!pnfs_enabled_sb(nfss) || !nfss->pnfs_curr_ld->ld_io_ops->read_pagelist) { dprintk("<-- %s: not using pnfs\n", __func__); return PNFS_NOT_ATTEMPTED; -- 1.6.6 -- 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