diff options
author | Christoph Hellwig <hch@lst.de> | 2023-08-02 17:41:24 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-10 10:34:57 +0200 |
commit | 4b41828be268544286794c18200e83861de3554e (patch) | |
tree | 24a24cf32c1fb160643ca41058762d1a9798646f /fs/f2fs | |
parent | c1e012ea9e835f81ac6062e8aa9e72940a671b95 (diff) | |
download | lwn-4b41828be268544286794c18200e83861de3554e.tar.gz lwn-4b41828be268544286794c18200e83861de3554e.zip |
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: Christoph Hellwig <hch@lst.de>
Acked-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Message-Id: <20230802154131.2221419-6-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions