1. 03 Oct, 2004 1 commit
  2. 28 Sep, 2004 1 commit
  3. 26 Sep, 2004 1 commit
  4. 24 Sep, 2004 4 commits
  5. 23 Sep, 2004 2 commits
  6. 22 Sep, 2004 3 commits
  7. 21 Sep, 2004 3 commits
  8. 14 Sep, 2004 1 commit
  9. 27 Aug, 2004 1 commit
  10. 18 Aug, 2004 2 commits
  11. 16 Aug, 2004 1 commit
  12. 22 Jul, 2004 1 commit
  13. 21 Jul, 2004 1 commit
  14. 14 Jul, 2004 1 commit
  15. 08 Jul, 2004 1 commit
  16. 07 Jul, 2004 1 commit
  17. 02 Jul, 2004 3 commits
  18. 21 Jun, 2004 6 commits
  19. 15 Jun, 2004 2 commits
    • Anton Altaparmakov's avatar
      NTFS: Ensure that there is no overflow when doing page->index << · b7a25a71
      Anton Altaparmakov authored
            PAGE_CACHE_SHIFT by casting page->index to s64 in fs/ntfs/aops.c.
      Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
      b7a25a71
    • Anton Altaparmakov's avatar
      NTFS: - Add new element itype.index.collation_rule to the ntfs inode · b9792e3f
      Anton Altaparmakov authored
              structure and set it appropriately in ntfs_read_locked_inode().
            - Implement a new inode type "index" to allow efficient access to the
              indices found in various system files and adapt inode handling
              accordingly (fs/ntfs/inode.[hc]).  An index inode is essentially an
              attribute inode (NInoAttr() is true) with an attribute type of
              AT_INDEX_ALLOCATION.  As such, it is no longer allowed to call
              ntfs_attr_iget() with an attribute type of AT_INDEX_ALLOCATION as
              there would be no way to distinguish between normal attribute inodes
              and index inodes.  The function to obtain an index inode is
              ntfs_index_iget() and it uses the helper function
              ntfs_read_locked_index_inode().  Note, we do not overload
              ntfs_attr_iget() as indices consist of multiple attributes so using
              ntfs_attr_iget() to obtain an index inode would be confusing.
      Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
      b9792e3f
  20. 10 Jun, 2004 1 commit
    • Anton Altaparmakov's avatar
      NTFS: 2.1.14 - Fix an NFSd caused deadlock reported by several users. · 290a768a
      Anton Altaparmakov authored
      
      - Modify fs/ntfs/ntfs_readdir() to copy the index root attribute value
        to a buffer so that we can put the search context and unmap the mft
        record before calling the filldir() callback.  We need to do this
        because of NFSd which calls ->lookup() from its filldir callback()
        and this causes NTFS to deadlock as ntfs_lookup() maps the mft record
        of the directory and since ntfs_readdir() has got it mapped already
        ntfs_lookup() deadlocks.
      Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
      290a768a
  21. 08 Jun, 2004 1 commit
    • Anton Altaparmakov's avatar
      NTFS: 2.1.13 - Enable overwriting of resident files and housekeeping of system files. · 32e5fcaa
      Anton Altaparmakov authored
      - Mark the volume dirty when (re)mounting read-write and mark it clean
        when unmounting or remounting read-only.  If any volume errors are
        found, the volume is left marked dirty to force chkdsk to run.
      - Add code to set the NT4 compatibility flag when (re)mounting
        read-write for newer NTFS versions but leave it commented out for now
        since we do not make any modifications that are NTFS 1.2 specific yet
        and since setting this flag breaks Captive-NTFS which is not nice.
        This code must be enabled once we start writing NTFS 1.2 specific
        changes otherwise Windows NTFS driver might crash / cause corruption.
      - Fix a silly bug that caused a deadlock in ntfs_mft_writepage().
        For inode 0, i.e. $MFT itself, we cannot use ilookup5() from
        there because the inode is already locked by the kernel
        (fs/fs-writeback.c::__sync_single_inode()) and ilookup5() waits
        until the inode is unlocked before returning it and it never gets
        unlocked because ntfs_mft_writepage() never returns.  )-:
        Fortunately, we have inode 0 pinned in icache for the duration
        of the mount so we can access it directly.
      Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
      32e5fcaa
  22. 07 Jun, 2004 1 commit
  23. 04 Jun, 2004 1 commit
    • Anton Altaparmakov's avatar
      NTFS: Implement ntfs_mft_writepage() so it now checks if any of the mft · e3353c06
      Anton Altaparmakov authored
            records in the page are dirty and if so redirties the page and
            returns.  Otherwise it just returns (after doing set_page_writeback(),
            unlock_page(), end_page_writeback() or the radix-tree tag
            PAGECACHE_TAG_DIRTY  remains set even though the page is clean), thus
            alowing the VM to do with the page as it pleases.  Also, at umount
            time, now only throw away dirty mft (meta)data pages if dirty inodes
            are present and ask the user to email us if they see this happening.
      Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
      e3353c06