lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20130809030350.GB1186@thunk.org> Date: Thu, 8 Aug 2013 23:03:50 -0400 From: Theodore Ts'o <tytso@....edu> To: Piotr Sarna <p.sarna@...tner.samsung.com> Cc: adilger.kernel@...ger.ca, linux-kernel@...r.kernel.org, linux-ext4@...r.kernel.org, b.zolnierkie@...sung.com, Kyungmin Park <kyungmin.park@...sung.com> Subject: Re: [PATCH 2/2] ext4: improve mount/remount error handling On Fri, Aug 02, 2013 at 02:03:47PM +0200, Piotr Sarna wrote: > Commit 5688978 ("ext4: improve handling of conflicting mount options") > introduced incorrect messages shown while choosing wrong mount options. > > Firstly, both cases of incorrect mount options, "data=journal,delalloc" > and "data=journal,dioread_nolock" result in the same error message. > > Secondly, the problem above isn't solved for remount option: the mismatched > parameter is simply ignored. Moreover, ext4_msg states that remount > with options "data=journal,delalloc" succeeded, which is not true. > > To fix it up, I added a simple check after parse_options() call to ensure > that data=journal and delalloc/dioread_nolock parameters are not present > at the same time. > > Signed-off-by: Piotr Sarna <p.sarna@...tner.samsung.com> > Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com> > Signed-off-by: Kyungmin Park <kyungmin.park@...sung.com> Applied, thanks. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists