Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d60a2aa1 authored by Ilya Byckevich's avatar Ilya Byckevich Committed by Ilya
Browse files

fs_mgr: Remove deprecated mount option

Mount option "nomblk_io_submit" was deleted from
upstream kernel v3.9 in 36ade451a5d736e61ac8302b64aacc5acb5e440f
and has not reappeared since then.
Now it only generates 'Ignoring removed nomblk_io_submit option'
in the logs

Test: manual
Change-Id: Ie609e7d3d38e808eeede1f1c55435ed027726025
parent be8f723e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -215,10 +215,6 @@ static void check_fs(const std::string& blk_device, const std::string& fs_type,
         */
        if (!(*fs_stat & FS_STAT_FULL_MOUNT_FAILED)) {  // already tried if full mount failed
            errno = 0;
            if (fs_type == "ext4") {
                // This option is only valid with ext4
                tmpmnt_opts += ",nomblk_io_submit";
            }
            ret = mount(blk_device.c_str(), target.c_str(), fs_type.c_str(), tmpmnt_flags,
                        tmpmnt_opts.c_str());
            PINFO << __FUNCTION__ << "(): mount(" << blk_device << "," << target << "," << fs_type