Skip to content
Commit 4b41828b authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christian Brauner
Browse files

ext4: make the IS_EXT2_SB/IS_EXT3_SB checks more robust



Check for sb->s_type which is the right place to look at the file system
type, not the holder, which is just an implementation detail in the VFS
helpers.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
Message-Id: <20230802154131.2221419-6-hch@lst.de>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent c1e012ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment