diff options
| author | Sohei Koyama <skoyama@ddn.com> | 2026-04-06 16:48:30 +0900 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-04-09 22:06:12 -0400 |
| commit | 77d059519382bd66283e6a4e83ee186e87e7708f (patch) | |
| tree | e777b4341a9d345c45b26f5f0e95eedef6bfcb73 /tools/perf/scripts/python | |
| parent | 22f53f08d9eb837ce69b1a07641d414aac8d045f (diff) | |
| download | lwn-77d059519382bd66283e6a4e83ee186e87e7708f.tar.gz lwn-77d059519382bd66283e6a4e83ee186e87e7708f.zip | |
ext4: fix missing brelse() in ext4_xattr_inode_dec_ref_all()
The commit c8e008b60492 ("ext4: ignore xattrs past end")
introduced a refcount leak in when block_csum is false.
ext4_xattr_inode_dec_ref_all() calls ext4_get_inode_loc() to
get iloc.bh, but never releases it with brelse().
Fixes: c8e008b60492 ("ext4: ignore xattrs past end")
Signed-off-by: Sohei Koyama <skoyama@ddn.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Cc: stable@vger.kernel.org
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Baokun Li <libaokun@linux.alibaba.com>
Link: https://patch.msgid.link/20260406074830.8480-1-skoyama@ddn.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
