e2fsck: declare the size of bh->b_data to be 4096 in jfs_user.h
commit865221f5aa31bfed1cc06da5815399c9d6c7ef90
authorTheodore Ts'o <tytso@mit.edu>
Wed, 27 Jan 2021 21:41:05 +0000 (27 16:41 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 27 Jan 2021 21:41:05 +0000 (27 16:41 -0500)
treee24fa5cf64ac6d7bb62fc747ae73a44db8115116
parentb3f288ed9fbb1b12c67fd00860f286a800427125
e2fsck: declare the size of bh->b_data to be 4096 in jfs_user.h

When allocating buffer_heads in e2fsck and debugfs the actual size of
the memory which is requested is based on the file system block size.
So the actual size of b_data in struct buffer_head doesn't actually
matter, except that it can triggers a UBSAN error when running the
e2fsck regression test.  So change it to be 4096 to avoid this false
positive.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/jfs_user.h