diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2023-10-21 22:59:03 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-10-23 12:47:13 +0300 |
commit | 1358706907d89e798e6c8930f82b210edc3c3a0c (patch) | |
tree | 54424fa341b033a1890be198d65da298ae70e70c /fs/nfs/nfs4_fs.h | |
parent | 2d8d7990619878a848b1d916c2f936d3012ee17d (diff) | |
download | linux-1358706907d89e798e6c8930f82b210edc3c3a0c.tar.xz |
gfs2: Stop using GFS2_BASIC_BLOCK and GFS2_BASIC_BLOCK_SHIFT
Header gfs2_ondisk.h defines GFS2_BASIC_BLOCK and GFS2_BASIC_BLOCK_SHIFT
in a misguided attempt to abstract away the fact that sectors on block
devices are 512 or (1 << 9) bytes in size. Stop using those definitions.
I would be inclinded to remove those definitions altogether, but the
gfs2 user-space tools are using them.
In addition, instead of GFS2_SB(inode)->sd_sb.sb_bsize_shift, simply use
inode->i_blkbits.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Andrew Price <anprice@redhat.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
0 files changed, 0 insertions, 0 deletions