diff options
author | Lukas Czerner <lczerner@redhat.com> | 2021-10-27 16:18:49 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-12-09 14:11:07 -0500 |
commit | da812f611934bef16fe02d667a76df77ae9cf99a (patch) | |
tree | 60e646dbf77ce3a953f71159b0a6422325775600 /fs/btrfs/disk-io.h | |
parent | 461c3af045d3ab949360fedbfb3ea1dcd9d8b22b (diff) | |
download | linux-da812f611934bef16fe02d667a76df77ae9cf99a.tar.bz2 |
ext4: Allow sb to be NULL in ext4_msg()
At the parsing phase of mount in the new mount api sb will not be
available so allow sb to be NULL in ext4_msg and use that in
handle_mount_opt().
Also change return value to appropriate -EINVAL where needed.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Link: https://lore.kernel.org/r/20211027141857.33657-6-lczerner@redhat.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/btrfs/disk-io.h')
0 files changed, 0 insertions, 0 deletions