Skip to content
Commit 2983d1bd authored by Anton Altaparmakov's avatar Anton Altaparmakov
Browse files

NTFS: Fix several bugs in fs/ntfs/attrib.c.



- Fix a bug in ntfs_map_runlist_nolock() where we forgot to protect
  access to the allocated size in the ntfs inode with the size lock.
- Fix ntfs_attr_vcn_to_lcn_nolock() and ntfs_attr_find_vcn_nolock() to
  return LCN_ENOENT when there is no runlist and the allocated size is
  zero.
- Fix load_attribute_list() to handle the case of a NULL runlist.

Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
parent 0aacceac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment