]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: Use SECTOR_SIZE and SECTOR_SHIFT
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 24 Apr 2025 15:33:53 +0000 (17:33 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 9 Jul 2025 17:40:07 +0000 (19:40 +0200)
commit00983d248c005f98535a5d6423fab414d640c112
treef55b6b654decde70da2f6b43c14a7bdb38b40e98
parentd0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af
gfs2: Use SECTOR_SIZE and SECTOR_SHIFT

Use the SECTOR_SIZE and SECTOR_SHIFT constants where appropriate instead
of hardcoding their values.

Reported-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/inode.h
fs/gfs2/meta_io.c
fs/gfs2/ops_fstype.c