search for: ext4_present

Displaying 2 results from an estimated 2 matches for "ext4_present".

2008 Oct 11
1
[PATCH] fstype: Fix ext4/ext4dev probing
...size)); + << (10 + __le32_to_cpu(sb->s_log_block_size)); + *test_fs = (sb->s_flags & + __cpu_to_le32(EXT2_FLAGS_TEST_FILESYS)) != 0; return 1; } return 0; } +static int ext4_image(const void *buf, unsigned long long *bytes) +{ + int ret, test_fs, ext4dev_present, ext4_present; + + ret = base_ext4_image(buf, bytes, &test_fs); + if (ret == 0) + return 0; + ext4dev_present = (fs_proc_check("ext4dev") || + check_for_modules("ext4dev")); + ext4_present = (fs_proc_check("ext4") || check_for_modules("ext4")); + if ((test_fs |...
2019 Oct 07
0
[klibc:master] fstype: Drop obsolete support for "ext4dev"
...s_count) << (10 + __le32_to_cpu(sb->s_log_block_size)); - *test_fs = (sb->s_flags & - __cpu_to_le32(EXT2_FLAGS_TEST_FILESYS)) != 0; return 1; } return 0; } -static int ext4_image(const void *buf, unsigned long long *bytes) -{ - int ret, test_fs, ext4dev_present, ext4_present; - - ret = base_ext4_image(buf, bytes, &test_fs); - if (ret == 0) - return 0; - ext4dev_present = (fs_proc_check("ext4dev") || - check_for_modules("ext4dev")); - ext4_present = (fs_proc_check("ext4") || check_for_modules("ext4")); - if ((test_fs ||...