From: Andy Adamson <andros@xxxxxxxxxx> Prepare to remove unused threshold calculations Squash into: "pnfs:write" 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 618bb08..316275d 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -1855,7 +1855,7 @@ _pnfs_try_to_write_data(struct nfs_write_data *data, dprintk("--> %s\n", __func__); /* Only create an rpc request if utilizing NFSv4 I/O */ - if (!pnfs_use_write(ino, data->args.count) || + if (!pnfs_enabled_sb(nfss) || !nfss->pnfs_curr_ld->ld_io_ops->write_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