diff options
author | Omar Sandoval <osandov@fb.com> | 2018-05-11 23:13:40 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 19:24:00 +0300 |
commit | 399b0bbf5f680797d3599fa14f16706ffc470145 (patch) | |
tree | 8dc4f332bfdd5c412ecb0b71906d098dc153e66b /fs/btrfs/ioctl.c | |
parent | 7efc3e349c1b557563eb61ef054653ce8486de58 (diff) | |
download | linux-399b0bbf5f680797d3599fa14f16706ffc470145.tar.xz |
Btrfs: reserve space for O_TMPFILE orphan item deletion
btrfs_link() calls btrfs_orphan_del() if it's linking an O_TMPFILE but
it doesn't reserve space to do so. Even before the removal of the
orphan_block_rsv it wasn't using it.
Fixes: ef3b9af50bfa ("Btrfs: implement inode_operations callback tmpfile")
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions