1. 30 Jun, 2002 6 commits
  2. 29 Jun, 2002 1 commit
  3. 27 Jun, 2002 1 commit
    • Anton Altaparmakov's avatar
      NTFS: 2.0.13 - Use iget5_locked() in preparation for fake inodes and small cleanups. · b9e6be22
      Anton Altaparmakov authored
      - Remove nr_mft_bits and the now superfluous union with nr_mft_records
        from ntfs_volume structure.
      - Remove nr_lcn_bits and the now superfluous union with nr_clusters
        from ntfs_volume structure.
      - Use iget5_locked() and friends instead of conventional iget(). Wrap
        the call in fs/ntfs/inode.c::ntfs_iget() and update callers of iget()
        to use ntfs_iget(). Leave only one iget() call at mount time so we
        don't need an ntfs_iget_mount().
      - Change fs/ntfs/inode.c::ntfs_new_extent_inode() to take mft_no as an
        additional argument.
      b9e6be22
  4. 26 Jun, 2002 1 commit
    • Anton Altaparmakov's avatar
      NTFS: 2.0.12 - Initial cleanup of address space operations following 2.0.11 changes. · b30de928
      Anton Altaparmakov authored
      - Merge fs/ntfs/aops.c::end_buffer_read_mst_async() and
        fs/ntfs/aops.c::end_buffer_read_file_async() into one function
        fs/ntfs/aops.c::end_buffer_read_attr_async() using NInoMstProtected()
        to determine whether to apply mst fixups or not.
      - Above change allows merging fs/ntfs/aops.c::ntfs_file_read_block()
        and fs/ntfs/aops.c::ntfs_mst_readpage() into one function
        fs/ntfs/aops.c::ntfs_attr_read_block(). Also, create a tiny wrapper
        fs/ntfs/aops.c::ntfs_mst_readpage() to transform the parameters from
        the VFS readpage function prototype to the ntfs_attr_read_block()
        function prototype.
      b30de928
  5. 25 Jun, 2002 1 commit
    • Anton Altaparmakov's avatar
      NTFS: 2.0.11 - Initial preparations for fake inode based attribute i/o. · 6bb39cd9
      Anton Altaparmakov authored
      - Move definition of ntfs_inode_state_bits to fs/ntfs/inode.h and
        do some macro magic (adapted from include/linux/buffer_head.h) to
        expand all the helper functions NInoFoo(), NInoSetFoo(), and
        NInoClearFoo().
      - Add new flag to ntfs_inode_state_bits: NI_Sparse.
      - Add new fields to ntfs_inode structure to allow use of fake inodes
        for attribute i/o: type, name, name_len. Also add new state bits:
        NI_Attr, which, if set, indicates the inode is a fake inode, and
        NI_MstProtected, which, if set, indicates the attribute uses multi
        sector transfer protection, i.e. fixups need to be applied after
        reads and before/after writes.
      - Rename fs/ntfs/inode.c::ntfs_{new,clear,destroy}_inode() to
        ntfs_{new,clear,destroy}_extent_inode() and update callers.
      - Use ntfs_clear_extent_inode() in fs/ntfs/inode.c::__ntfs_clear_inode()
        instead of ntfs_destroy_extent_inode().
      - Cleanup memory deallocations in {__,}ntfs_clear_{,big_}inode().
      - Make all operations on ntfs inode state bits use the NIno* functions.
      - Set up the new ntfs inode fields and state bits in
        fs/ntfs/inode.c::ntfs_read_inode() and add appropriate cleanup of
        allocated memory to __ntfs_clear_inode().
      - Cleanup ntfs_inode structure a bit for better ordering of elements
        w.r.t. their size to allow better packing of the structure in memory.
      6bb39cd9
  6. 20 Jun, 2002 30 commits