From: Andy Adamson <andros@xxxxxxxxxx> Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> --- include/linux/nfs4_pnfs.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/linux/nfs4_pnfs.h b/include/linux/nfs4_pnfs.h index a2239a5..b0c2b0a 100644 --- a/include/linux/nfs4_pnfs.h +++ b/include/linux/nfs4_pnfs.h @@ -84,6 +84,12 @@ layoutcommit_needed(struct nfs_inode *nfsi) #else /* CONFIG_NFS_V4_1 */ static inline bool +has_layout(struct nfs_inode *nfsi) +{ + return false; +} + +static inline bool layoutcommit_needed(struct nfs_inode *nfsi) { return 0; -- 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