diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2023-02-15 16:06:56 +0400 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2023-03-27 17:44:36 +0400 |
commit | e43f6ec224c1b428260e161f0300afbe2e1194fe (patch) | |
tree | 572c5d59d36946492fe57fc2e55f729c12fe19bf /fs/ntfs3/frecord.c | |
parent | 16b3dbfb5d5cdfb0fcb66a5065369c935500a437 (diff) |
fs/ntfs3: Print details about mount fails
Added error mesages with error codes.
Minor refactoring and code formatting.
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/frecord.c')
-rw-r--r-- | fs/ntfs3/frecord.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/frecord.c b/fs/ntfs3/frecord.c index 481219f2a7cf..2bfcf1a989c9 100644 --- a/fs/ntfs3/frecord.c +++ b/fs/ntfs3/frecord.c @@ -3360,7 +3360,7 @@ out: ni_unlock(ni); if (err) { - ntfs_err(sb, "%s r=%lx failed, %d.", hint, inode->i_ino, err); + ntfs_inode_err(inode, "%s failed, %d.", hint, err); ntfs_set_state(sbi, NTFS_DIRTY_ERROR); return err; } |