From: Andy Adamson <andros@xxxxxxxxxx> Prepare to remove unused threshold calculations Squash into: "pnfs:commit and pnfs_write_end" 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 316275d..c48bcd7 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -1874,7 +1874,7 @@ _pnfs_try_to_commit(struct nfs_write_data *data, { struct inode *inode = data->inode; - if (!pnfs_use_write(inode, -1)) { + if (!pnfs_enabled_sb(NFS_SERVER(inode))) { dprintk("%s: Not using pNFS I/O\n", __func__); return PNFS_NOT_ATTEMPTED; } else { -- 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