From: Andy Adamson <andros@xxxxxxxxxx> Export nfsd4_pnfs_dlm_layouttype for use by dlm cluster file systems. Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> Acked-by: Steven Whitehouse <swhiteho@xxxxxxxxxx> --- fs/nfsd/nfs4pnfsdlm.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fs/nfsd/nfs4pnfsdlm.c b/fs/nfsd/nfs4pnfsdlm.c index db3ae1d..162afaf 100644 --- a/fs/nfsd/nfs4pnfsdlm.c +++ b/fs/nfsd/nfs4pnfsdlm.c @@ -378,3 +378,9 @@ error: res->lg_seg.length = 0; goto exit; } + +static int +nfsd4_pnfs_dlm_layouttype(struct super_block *sb) +{ + return LAYOUT_NFSV4_FILES; +} -- 1.6.5.1 -- 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