diff options
author | zhangyi (F) <yi.zhang@huawei.com> | 2019-02-21 11:29:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-21 18:50:21 +0200 |
commit | 8f5e9fb17125aa8990c9c9465c97deeda44c6528 (patch) | |
tree | b48a9fc82802d18d58507afe2cf51bbb91f51794 /fs/ext4 | |
parent | d58465aec7bcd7c4ff13c7734cedc82c5dcfe9be (diff) | |
download | linux-stable-8f5e9fb17125aa8990c9c9465c97deeda44c6528.tar.gz linux-stable-8f5e9fb17125aa8990c9c9465c97deeda44c6528.tar.bz2 linux-stable-8f5e9fb17125aa8990c9c9465c97deeda44c6528.zip |
ext4: fix compile error when using BUFFER_TRACE
commit ddccb6dbe780d68133191477571cb7c69e17bb8c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 5eb28dcaa0f0..d3ef946df585 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -5818,7 +5818,7 @@ int ext4_expand_extra_isize(struct inode *inode, ext4_write_lock_xattr(inode, &no_expand); - BUFFER_TRACE(iloc.bh, "get_write_access"); + BUFFER_TRACE(iloc->bh, "get_write_access"); error = ext4_journal_get_write_access(handle, iloc->bh); if (error) { brelse(iloc->bh); |