aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2025-06-04 09:29:27 +0000
committerDavid Sterba <[email protected]>2025-07-21 21:53:31 +0000
commitc6aeae86b9af577ae84b97e6affcb228f5b9481a (patch)
treef2d1da4eb479886a5be4498c8e7dcb89a58bfc25 /fs/btrfs/extent_io.c
parentbtrfs: use on-stack variable for block reserve in btrfs_truncate() (diff)
downloadkernel-c6aeae86b9af577ae84b97e6affcb228f5b9481a.tar.gz
kernel-c6aeae86b9af577ae84b97e6affcb228f5b9481a.zip
btrfs: use on-stack variable for block reserve in btrfs_replace_file_extents()
We can avoid potential memory allocation failure in btrfs_replace_file_extents() as the block reserve lifetime is limited to the scope of the function. This requires +48 bytes on stack. Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions