diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-11-11 15:40:47 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-11-24 22:42:23 +0100 |
| commit | fe1e50031feae74688e33fe4e0bdc7d9585c07ce (patch) | |
| tree | ad32ec031603c021001b4e65f15eae5e6d345585 /fs/btrfs/space-info.c | |
| parent | 4decf577fb7a5a252f6f67383d06111b3525505f (diff) | |
btrfs: move struct reserve_ticket definition to space-info.c
It's not used anywhere outside space-info.c so move it from space-info.h
into space-info.c.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/space-info.c')
| -rw-r--r-- | fs/btrfs/space-info.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/btrfs/space-info.c b/fs/btrfs/space-info.c index 4ae6928fdca4..61fd76c3da0d 100644 --- a/fs/btrfs/space-info.c +++ b/fs/btrfs/space-info.c @@ -173,6 +173,15 @@ * thing with or without extra unallocated space. */ +struct reserve_ticket { + u64 bytes; + int error; + bool steal; + struct list_head list; + wait_queue_head_t wait; + spinlock_t lock; +}; + /* * after adding space to the filesystem, we need to clear the full flags * on all the space infos. |
