ntfs_attr_lookup: log all errors

master
szaka 2009-02-10 20:06:29 +00:00
parent eb27d2059f
commit 6a3da7101b
1 changed files with 1 additions and 0 deletions

View File

@ -2334,6 +2334,7 @@ int ntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name,
(!ctx->ntfs_ino || !(vol = ctx->ntfs_ino->vol) ||
!vol->upcase || !vol->upcase_len))) {
errno = EINVAL;
ntfs_log_perror("%s", __FUNCTION__);
goto out;
}