aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Zhao <zhaoyifan@sjtu.edu.cn>2023-07-26 12:56:04 +0800
committerTom Rini <trini@konsulko.com>2023-08-07 10:19:58 -0400
commit08b81e2ca2a03c03255498f2714b2722a9af5d97 (patch)
tree4f7edb6c81a1d0b24999ce8709142080b38debcc
parent9fa00de1e1e2a885759f1a2e95ddfc146dcbe92b (diff)
downloadu-boot-WIP/2023-08-07-assorted-fixes.zip
u-boot-WIP/2023-08-07-assorted-fixes.tar.gz
u-boot-WIP/2023-08-07-assorted-fixes.tar.bz2
fs/erofs: Remove an unnecessary assertionWIP/2023-08-07-assorted-fixes
In [1] Sam points out an assertion does not hold true for 32-bit platforms, which only impacts Large File Support (LFS) API usage in erofs-utils according to Xiang [2]. We don't think these APIs are used in u-boot and this restriction could be safely removed. [1] https://lists.denx.de/pipermail/u-boot/2023-July/524679.html [2] https://lists.denx.de/pipermail/u-boot/2023-July/524727.html Fixes: 3a21e92fc255 ("fs/erofs: Introduce new features including ztailpacking, fragments and dedupe") Signed-off-by: Yifan Zhao <zhaoyifan@sjtu.edu.cn> Tested-by: Sam Edwards <CFSworks@gmail.com>
-rw-r--r--fs/erofs/internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h
index 433a3c6..1875f37 100644
--- a/fs/erofs/internal.h
+++ b/fs/erofs/internal.h
@@ -105,9 +105,6 @@ struct erofs_sb_info {
u8 xattr_prefix_count;
};
-/* make sure that any user of the erofs headers has at least 64bit off_t type */
-extern int erofs_assert_largefile[sizeof(off_t) - 8];
-
static inline erofs_off_t iloc(erofs_nid_t nid)
{
return erofs_pos(sbi.meta_blkaddr) + (nid << sbi.islotbits);