From: Andy Adamson <andros@xxxxxxxxxx> squash into pnfs_submit: filelayout policy operations Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> --- fs/nfs/nfs4filelayout.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfs/nfs4filelayout.c b/fs/nfs/nfs4filelayout.c index 87c8fe0..eb9c907 100644 --- a/fs/nfs/nfs4filelayout.c +++ b/fs/nfs/nfs4filelayout.c @@ -673,9 +673,9 @@ filelayout_commit(struct nfs_write_data *data, int sync) /* Return the stripesize for the specified file */ ssize_t -filelayout_get_stripesize(struct pnfs_layout_type *layoutid) +filelayout_get_stripesize(struct pnfs_layout_hdr *lo) { - struct nfs4_filelayout *flo = FILE_LO(layoutid); + struct nfs4_filelayout *flo = FILE_LO(lo); return flo->stripe_unit; } -- 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