diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-08-26 00:12:09 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-08-26 00:15:19 +0200 |
commit | 4e23f6c0354376b18502443b3ec8102bb657466d (patch) | |
tree | eeab84ed5b18d237f09c25e5d6de1021095f296d /ext2fs | |
parent | 094b1430b880003c384326939330a33208105409 (diff) | |
download | hurd-4e23f6c0354376b18502443b3ec8102bb657466d.tar.gz hurd-4e23f6c0354376b18502443b3ec8102bb657466d.tar.bz2 hurd-4e23f6c0354376b18502443b3ec8102bb657466d.zip |
ext2fs: Ignore translators bits when checking we have no Hurd extensions
We don't actually want to write these anyway.
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c index 4ccd6b36..a23baee7 100644 --- a/ext2fs/inode.c +++ b/ext2fs/inode.c @@ -409,7 +409,7 @@ write_node (struct node *np) { assert_backtrace ((st->st_uid & ~0xFFFF) == 0); assert_backtrace ((st->st_gid & ~0xFFFF) == 0); - assert_backtrace ((st->st_mode & ~0xFFFF) == 0); + assert_backtrace (((st->st_mode & ~S_ITRANS) & ~0xFFFF) == 0); assert_backtrace (np->author_tracks_uid && st->st_author == st->st_uid); } |