Whamcloud - gitweb
LU-10198 llog: keep llog handle alive until last reference
[fs/lustre-release.git] / lustre / include / lustre_log.h
index ae37da4..d58ddd8 100644 (file)
@@ -283,9 +283,10 @@ struct llog_handle {
        char                    *lgh_name;
        void                    *private_data;
        struct llog_operations  *lgh_logops;
        char                    *lgh_name;
        void                    *private_data;
        struct llog_operations  *lgh_logops;
-       atomic_t                 lgh_refcount;
+       refcount_t               lgh_refcount;
 
        int                     lgh_max_size;
 
        int                     lgh_max_size;
+       bool                    lgh_destroyed;
 };
 
 /* llog_osd.c */
 };
 
 /* llog_osd.c */