]> git.baikalelectronics.ru Git - kernel.git/commit
ext2: factor our freeing of xattr block reference
authorJan Kara <jack@suse.cz>
Tue, 12 Jul 2022 10:54:25 +0000 (12:54 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Aug 2022 03:56:25 +0000 (23:56 -0400)
commit99a197a1f51ee395b5d3eb36bf1f980e91e6a1de
tree31b7417c99f6295952cc6c13f43cb58a909fbf50
parentc36112767922b12172d0c6946fc5fe6eaa6ba19c
ext2: factor our freeing of xattr block reference

Free of xattr block reference is opencode in two places. Factor it out
into a separate function and use it.

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220712105436.32204-6-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext2/xattr.c