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>
unsigned int b_dirty:1;
unsigned int b_uptodate:1;
unsigned long long b_blocknr;
- char b_data[1024];
+ char b_data[4096];
};
struct inode {