btrfs: simplify update of last_dir_index_offset when logging a directory
[platform/kernel/linux-starfive.git] / fs / btrfs / tree-log.h
index aed1e05..bcca741 100644 (file)
@@ -23,8 +23,6 @@ struct btrfs_log_ctx {
        bool logging_new_delayed_dentries;
        /* Indicate if the inode being logged was logged before. */
        bool logged_before;
-       /* Tracks the last logged dir item/index key offset. */
-       u64 last_dir_item_offset;
        struct inode *inode;
        struct list_head list;
        /* Only used for fast fsyncs. */