Whamcloud - gitweb
Add matching "starting handle" message in the fsfilt_brw_start() path.
authoradilger <adilger>
Wed, 4 Jun 2003 22:46:46 +0000 (22:46 +0000)
committeradilger <adilger>
Wed, 4 Jun 2003 22:46:46 +0000 (22:46 +0000)
lustre/include/linux/lustre_fsfilt.h

index 1dd9339..f736d4b 100644 (file)
@@ -79,8 +79,7 @@ extern void fsfilt_put_ops(struct fsfilt_operations *fs_ops);
 static inline void *fsfilt_start(struct obd_device *obd,
                                  struct inode *inode, int op)
 {
-        void *handle;
-        handle = obd->obd_fsops->fs_start(inode, op);
+        void *handle = obd->obd_fsops->fs_start(inode, op);
         CDEBUG(D_HA, "starting handle %p\n", handle);
         return handle;
 }
@@ -89,7 +88,9 @@ static inline void *fsfilt_brw_start(struct obd_device *obd, int objcount,
                                      struct fsfilt_objinfo *fso, int niocount,
                                      struct niobuf_remote *nb)
 {
-        return obd->obd_fsops->fs_brw_start(objcount, fso, niocount, nb);
+        void *handle = obd->obd_fsops->fs_brw_start(objcount, fso, niocount,nb);
+        CDEBUG(D_HA, "starting handle %p\n", handle);
+        return handle;
 }
 
 static inline int fsfilt_commit(struct obd_device *obd, struct inode *inode,