Re: [PATCH v4 2/6] ext4: add ability to return parsed options from parse_options
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-03-15 19:07:05
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-03-15 19:07:05
On Mon, Mar 15, 2021 at 10:37:12AM -0700, Harshad Shirwadkar wrote:
Before this patch, the function parse_options() was returning journal_devnum and journal_ioprio variables to the caller. This patch generalizes that interface to allow parse_options to return any parsed options to return back to the caller. In this patch series, it gets used to capture the value of "mb_optimize_scan=%u" mount option.
Instead of adding more code to the legacy option parsing code can someone convert ext4 to the new mount API first?