linux-stable/fs/zonefs
Damien Le Moal d50efc8d11 zonefs: fix handling of explicit_open option on mount
commit a2a513be71 upstream.

Ignoring the explicit_open mount option on mount for devices that do not
have a limit on the number of open zones must be done after the mount
options are parsed and set in s_mount_opts. Move the check to ignore
the explicit_open option after the call to zonefs_parse_options() in
zonefs_fill_super().

Fixes: b5c00e9757 ("zonefs: open/close zone on file open/close")
Cc: <stable@vger.kernel.org>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-14 18:41:53 +02:00
..
Kconfig zonefs: select CONFIG_CRC32 2021-01-04 09:06:42 +09:00
Makefile zonefs: add tracepoints for file operations 2021-02-16 09:59:54 +09:00
super.c zonefs: fix handling of explicit_open option on mount 2022-06-14 18:41:53 +02:00
trace.h zonefs: add tracepoints for file operations 2021-02-16 09:59:54 +09:00
zonefs.h zonefs: Convert to using invalidate_lock 2021-07-13 14:29:01 +02:00