aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4filelayout.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4filelayout.c')
-rw-r--r--fs/nfs/nfs4filelayout.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/nfs/nfs4filelayout.c b/fs/nfs/nfs4filelayout.c
index 0040a5ee6208..9d21bfeec88f 100644
--- a/fs/nfs/nfs4filelayout.c
+++ b/fs/nfs/nfs4filelayout.c
@@ -238,6 +238,12 @@ filelayout_read_pagelist(struct nfs_read_data *data)
238 return PNFS_ATTEMPTED; 238 return PNFS_ATTEMPTED;
239} 239}
240 240
241static enum pnfs_try_status
242filelayout_write_pagelist(struct nfs_write_data *data, int sync)
243{
244 return PNFS_NOT_ATTEMPTED;
245}
246
241/* 247/*
242 * filelayout_check_layout() 248 * filelayout_check_layout()
243 * 249 *
@@ -455,6 +461,7 @@ static struct pnfs_layoutdriver_type filelayout_type = {
455 .free_lseg = filelayout_free_lseg, 461 .free_lseg = filelayout_free_lseg,
456 .pg_test = filelayout_pg_test, 462 .pg_test = filelayout_pg_test,
457 .read_pagelist = filelayout_read_pagelist, 463 .read_pagelist = filelayout_read_pagelist,
464 .write_pagelist = filelayout_write_pagelist,
458}; 465};
459 466
460static int __init nfs4filelayout_init(void) 467static int __init nfs4filelayout_init(void)