From 6ce38b5bd4e7669262285fff91c8d37027705ad6 Mon Sep 17 00:00:00 2001 From: pschwan Date: Mon, 14 Apr 2003 21:29:34 +0000 Subject: [PATCH] print the handle when we start/commit, for some fun bug 1130 debugging --- lustre/include/linux/lustre_fsfilt.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lustre/include/linux/lustre_fsfilt.h b/lustre/include/linux/lustre_fsfilt.h index 6b0cbfa..92c59b7 100644 --- a/lustre/include/linux/lustre_fsfilt.h +++ b/lustre/include/linux/lustre_fsfilt.h @@ -79,8 +79,10 @@ extern void fsfilt_put_ops(struct fsfilt_operations *fs_ops); static inline void *fsfilt_start(struct obd_device *obd, struct inode *inode, int op) { - ENTRY; - return obd->obd_fsops->fs_start(inode, op); + void *handle; + handle = obd->obd_fsops->fs_start(inode, op); + CDEBUG(D_HA, "starting handle %p\n", handle); + return handle; } static inline void *fsfilt_brw_start(struct obd_device *obd, int objcount, @@ -93,8 +95,8 @@ static inline void *fsfilt_brw_start(struct obd_device *obd, int objcount, static inline int fsfilt_commit(struct obd_device *obd, struct inode *inode, void *handle) { + CDEBUG(D_HA, "committing handle %p\n", handle); return obd->obd_fsops->fs_commit(inode, handle); - EXIT; } static inline int fsfilt_setattr(struct obd_device *obd, struct dentry *dentry, -- 1.8.3.1