16 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef _BUCKETS_WAITING_FOR_JOURNAL_H3#define _BUCKETS_WAITING_FOR_JOURNAL_H4 5#include "buckets_waiting_for_journal_types.h"6 7bool bch2_bucket_needs_journal_commit(struct buckets_waiting_for_journal *,8 u64, unsigned, u64);9int bch2_set_bucket_needs_journal_commit(struct buckets_waiting_for_journal *,10 u64, unsigned, u64, u64);11 12void bch2_fs_buckets_waiting_for_journal_exit(struct bch_fs *);13int bch2_fs_buckets_waiting_for_journal_init(struct bch_fs *);14 15#endif /* _BUCKETS_WAITING_FOR_JOURNAL_H */16