summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@gmail.com>2024-08-21 18:46:25 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-09-02 06:43:39 +0300
commit5b527d38644686dc11e29468463aa7affa282e31 (patch)
treeae880766847b097c0cdbd896400557b861ef0f3e /scripts
parentd07d8ba4cee7b56aa8ff499776ce76323562660e (diff)
downloadlinux-5b527d38644686dc11e29468463aa7affa282e31.tar.xz
nilfs2: do not propagate ENOENT error from sufile during recovery
nilfs_sufile_free() returns the error code -ENOENT when the block where the segment usage should be placed does not exist (hole block case), but this error should not be propagated upwards to the mount system call. In nilfs_prepare_segment_for_recovery(), one of the recovery steps during mount, nilfs_sufile_free() is used and may return -ENOENT as is, so in that case return -EINVAL instead. Link: https://lkml.kernel.org/r/20240821154627.11848-4-konishi.ryusuke@gmail.com Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions