summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@gmail.com>2024-08-21 18:46:24 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-09-02 06:43:39 +0300
commitd07d8ba4cee7b56aa8ff499776ce76323562660e (patch)
tree0c964cc6ad40d08ef1411891250d9f8fc63fac3c /scripts/lib/kdoc/kdoc_files.py
parent62e6e7841701619c2390e4e6cc4089f38c2a6798 (diff)
downloadlinux-d07d8ba4cee7b56aa8ff499776ce76323562660e.tar.xz
nilfs2: treat missing cpfile header block as metadata corruption
The cpfile, a metadata file that holds metadata for checkpoint management, also has statistical information in its first block, and if reading this block fails, it receives the internal code -ENOENT and returns that code to the callers. As with sufile, to prevent this -ENOENT from being propagated to system calls, return -EIO instead when reading the header block fails. Link: https://lkml.kernel.org/r/20240821154627.11848-3-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/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions