[pnfs] [PATCH 13/14] 2.6-latest pnfs client debug Need to Implement
andros at umich.edu
andros at umich.edu
Mon Nov 12 14:29:25 EST 2007
From: Andy Adamson <andros at umich.edu>
Print a debug message on unimplemented pnfs calls.
Signed-off by: Andy Adamson<andros at umich.edu>
---
fs/nfs/nfs4proc.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 3d4bd13..b484bd2 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -2098,7 +2098,7 @@ static int
pnfs4_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr,
struct iattr *sattr)
{
- /* XXX Need to implement */
+ printk("%s XXX Need to Implement\n", __func__);
return -1;
}
#endif /* CONFIG_PNFS */
@@ -3025,7 +3025,7 @@ static int nfs4_write_done(struct rpc_task *task, struct nfs_write_data *data)
#ifdef CONFIG_PNFS
static int pnfs4_write_done(struct rpc_task *task, struct nfs_write_data *data)
{
- /* XXX Need to implement */
+ printk("%s XXX Need to Implement\n", __func__);
return -1;
}
#endif /* CONFIG_PNFS */
@@ -3094,7 +3094,8 @@ static void nfs4_proc_commit_setup(struct nfs_write_data *data, int how)
#ifdef CONFIG_PNFS
static void pnfs4_proc_commit_setup(struct nfs_write_data *data, int how)
{
- /* XXX Need to Implement */
+ printk("%s XXX Need to Implement\n", __func__);
+
}
#endif /* CONFIG_PNFS */
@@ -4991,18 +4992,18 @@ static int nfs4_proc_pnfs_layoutget(struct nfs4_pnfs_layoutget* layout)
static void
nfs4_proc_pnfs_layoutcommit_setup(struct pnfs_layoutcommit_data* data)
{
- /* XXX Need to implement */
+ printk("%s XXX Need to Implement\n", __func__);
}
static int pnfs_proc_layoutcommit(struct pnfs_layoutcommit_data *data)
{
- /* XXX Need to implement */
+ printk("%s XXX Need to Implement\n", __func__);
return -1;
}
static int nfs4_proc_pnfs_layoutreturn(struct nfs4_pnfs_layoutreturn* layout)
{
- /* XXX Need to implement */
+ printk("%s XXX Need to Implement\n", __func__);
return -1;
}
--
1.5.0.2
More information about the pNFS
mailing list