Message ID | 20220602063958.527493-1-sunliming@kylinos.cn (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | xfs: Fix build error for implicit function declaration | expand |
diff --git a/fs/xfs/scrub/xfile.h b/fs/xfs/scrub/xfile.h index 973b0641b88a..a7ae99d32b5d 100644 --- a/fs/xfs/scrub/xfile.h +++ b/fs/xfs/scrub/xfile.h @@ -122,6 +122,13 @@ static inline loff_t xfile_size(struct xfile *xf) { return 0; } + +static inline loff_t xfo_to_b(xfileoff_t xfoff) {} +static inline xfileoff_t b_to_xfo(loff_t pos) {} +static inline xfileoff_t b_to_xfot(loff_t pos) {} +static inline xfs_daddr_t xfo_to_daddr(xfileoff_t xfoff) {} +static inline xfileoff_t xfs_daddr_to_xfo(xfs_daddr_t bb) {} +static inline xfileoff_t xfs_daddr_to_xfot(xfs_daddr_t bb) {} #endif /* CONFIG_XFS_IN_MEMORY_FILE */ #endif /* __XFS_SCRUB_XFILE_H__ */