projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
392431c
)
btrfs: add cleanup function for btrfs_free_chunk_map
author
Naohiro Aota
<naohiro.aota@wdc.com>
Mon, 26 Jan 2026 05:49:51 +0000
(14:49 +0900)
committer
David Sterba
<dsterba@suse.com>
Tue, 3 Feb 2026 06:59:06 +0000
(07:59 +0100)
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.h
patch
|
blob
|
history
diff --git
a/fs/btrfs/volumes.h
b/fs/btrfs/volumes.h
index
ebc85bf
..
8288d79
100644
(file)
--- a/
fs/btrfs/volumes.h
+++ b/
fs/btrfs/volumes.h
@@
-634,6
+634,7
@@
static inline void btrfs_free_chunk_map(struct btrfs_chunk_map *map)
kfree(map);
}
}
+DEFINE_FREE(btrfs_free_chunk_map, struct btrfs_chunk_map *, btrfs_free_chunk_map(_T))
struct btrfs_balance_control {
struct btrfs_balance_args data;