linux/fs/bcachefs/errcode.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHEFS_ERRCODE_H
#define _BCACHEFS_ERRCODE_H

#define BCH_ERRCODES()

enum bch_errcode {};

const char *bch2_err_str(int);
bool __bch2_err_matches(int, int);

static inline bool _bch2_err_matches(int err, int class)
{}

#define bch2_err_matches(_err, _class)

int __bch2_err_class(int);

static inline long bch2_err_class(long err)
{}

#define BLK_STS_REMOVED

const char *bch2_blk_status_to_str(blk_status_t);

#endif /* _BCACHFES_ERRCODE_H */