diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-05-24 01:29:39 +0200 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-05-24 10:06:45 +0200 |
commit | 14bdb047a54d7a44af8633848ad097bbaf1b2cb6 (patch) | |
tree | a0194e6cc3af814f6d62ddcc4002614f661931ad /fs/btrfs/compression.c | |
parent | Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a... (diff) | |
download | linux-14bdb047a54d7a44af8633848ad097bbaf1b2cb6.tar.xz linux-14bdb047a54d7a44af8633848ad097bbaf1b2cb6.zip |
zonefs: Fix zonefs_init_file_inode() return value
Commit 87c9ce3ffec9 ("zonefs: Add active seq file accounting") wrongly
changed zonefs_init_file_inode() to always return 0 even if the call to
zonefs_zone_mgmt() fails. Fix this by propagating zonefs_zone_mgmt()
return value as the return value for zonefs_init_file_inode().
Fixes: 87c9ce3ffec9 ("zonefs: Add active seq file accounting")
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions