diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-12-30 10:34:08 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-12-30 11:37:40 +0300 |
commit | 55ad333de0f80bc0caee10c6c27196cdcf8891bb (patch) | |
tree | e257e15ab07ebe788315fb1e5238c06ce8884b3b /fs/ntfs3/dir.c | |
parent | 2afd4d267e6dbaec8d3ccd4f5396cb84bc67aa2e (diff) |
fs/ntfs3: Unify inode corruption marking with _ntfs_bad_inode()
Also reworked error handling in a couple of places.
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/dir.c')
-rw-r--r-- | fs/ntfs3/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/dir.c b/fs/ntfs3/dir.c index fc6a8aa29e3a..b6da80c69ca6 100644 --- a/fs/ntfs3/dir.c +++ b/fs/ntfs3/dir.c @@ -512,7 +512,7 @@ out: ctx->pos = pos; } else if (err < 0) { if (err == -EINVAL) - ntfs_inode_err(dir, "directory corrupted"); + _ntfs_bad_inode(dir); ctx->pos = eod; } |