]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NTFS: Fix several bugs in fs/ntfs/attrib.c.
authorAnton Altaparmakov <aia21@cantab.net>
Thu, 8 Sep 2005 19:56:09 +0000 (20:56 +0100)
committerAnton Altaparmakov <aia21@cantab.net>
Thu, 8 Sep 2005 19:56:09 +0000 (20:56 +0100)
commit2983d1bd1a596e88cdddc0c2d45b9e97728f3f41
treeae064cdea63edcf081ed9bc7a746426e28488e11
parent0aacceacf35451ffb771ec825555e98c5dce8b01
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: Anton Altaparmakov <aia21@cantab.net>
fs/ntfs/ChangeLog
fs/ntfs/attrib.c