#error Unsupported operating system.
#endif
-#include <obd.h>
+#include <obd_class.h>
#include <obd_ost.h>
#include <lustre/lustre_idl.h>
/**
* The refcount for lcm
*/
- atomic_t lcm_refcount;
+ atomic_t lcm_refcount;
/**
* Thread control structure. Used for control commit thread.
*/
char lcm_name[LCM_NAME_SIZE];
};
-static inline struct llog_commit_master
+static inline struct llog_commit_master
*lcm_get(struct llog_commit_master *lcm)
{
LASSERT(atomic_read(&lcm->lcm_refcount) > 0);
return lcm;
}
-static inline void
+static inline void
lcm_put(struct llog_commit_master *lcm)
{
if (!atomic_dec_and_test(&lcm->lcm_refcount)) {
return ;
}
- OBD_FREE_PTR(lcm);
+ OBD_FREE_PTR(lcm);
}
struct llog_canceld_ctxt {
RETURN(rc);
}
+int lustre_process_log(struct super_block *sb, char *logname,
+ struct config_llog_instance *cfg);
+int lustre_end_log(struct super_block *sb, char *logname,
+ struct config_llog_instance *cfg);
+
#endif