From 1cf4d51dc4661f336f5318c176a3561ddf5bf04f Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 21 Dec 2017 18:00:30 -0500 Subject: Update bcachefs sources to 14ce2a2031 bcachefs: fixes for building in userspace --- include/linux/blkdev.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux/blkdev.h') diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index f196c704..1d5581dc 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -197,5 +197,8 @@ static inline bool dir_emit_dots(struct file *file, struct dir_context *ctx) #define capable(cap) true +int blk_status_to_errno(blk_status_t status); +blk_status_t errno_to_blk_status(int errno); + #endif /* __TOOLS_LINUX_BLKDEV_H */ -- cgit v1.2.3