mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
synced 2024-11-14 13:23:42 +08:00
mkfs.f2fs: remove IMMUTABLE bit
The immutable bit disallows selinux permission which gives no way to clear it.
Fixes: 8cc4e257ec
("mkfs.f2fs: add device aliasing feature")
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
05fde8ed32
commit
ad3736cca5
@ -1748,8 +1748,7 @@ static int f2fs_write_alias_inodes(void)
|
||||
dev_off++;
|
||||
f2fs_init_inode(sb, raw_node, ino, mkfs_time, 0x81c0);
|
||||
|
||||
raw_node->i.i_flags = cpu_to_le32(F2FS_IMMUTABLE_FL |
|
||||
F2FS_DEVICE_ALIAS_FL);
|
||||
raw_node->i.i_flags = cpu_to_le32(F2FS_DEVICE_ALIAS_FL);
|
||||
raw_node->i.i_inline = F2FS_PIN_FILE;
|
||||
raw_node->i.i_pino = sb->root_ino;
|
||||
filename = c.devices[i].alias_filename;
|
||||
|
Loading…
Reference in New Issue
Block a user