]> git.baikalelectronics.ru Git - kernel.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)
commit28fb5105102ff26a1f742b94ecdabe2e449093ad
treeae064cdea63edcf081ed9bc7a746426e28488e11
parent68c6557055b48c65b617b6b3aa7858f71ff283cd
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