Skip to content

Commit ddccb6d

Browse files
zhangyi089tytso
authored andcommitted
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: c03b45b ("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>
1 parent 01215d3 commit ddccb6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ext4/inode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5995,7 +5995,7 @@ int ext4_expand_extra_isize(struct inode *inode,
59955995

59965996
ext4_write_lock_xattr(inode, &no_expand);
59975997

5998-
BUFFER_TRACE(iloc.bh, "get_write_access");
5998+
BUFFER_TRACE(iloc->bh, "get_write_access");
59995999
error = ext4_journal_get_write_access(handle, iloc->bh);
60006000
if (error) {
60016001
brelse(iloc->bh);

0 commit comments

Comments
 (0)