ext4: fix compile error when using BUFFER_TRACE
authorzhangyi (F) <yi.zhang@huawei.com>
Thu, 21 Feb 2019 16:29:10 +0000 (11:29 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 21 Feb 2019 16:29:10 +0000 (11:29 -0500)
commitddccb6dbe780d68133191477571cb7c69e17bb8c
treeb4077d338606f57bca9efa15398de86dd7bf1c51
parent01215d3edb0f384ddeaa5e4a22c1ae5ff634149f
ext4: fix compile error when using BUFFER_TRACE

Fix compile error below when using BUFFER_TRACE.

fs/ext4/inode.c: In function ‘ext4_expand_extra_isize’:
fs/ext4/inode.c:5979:19: error: request for member ‘bh’ in something not a structure or union
  BUFFER_TRACE(iloc.bh, "get_write_access");

Fixes: c03b45b853f58 ("ext4, project: expand inode extra size if possible")
Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/inode.c