]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NTFS: Enable ATTR_SIZE attribute changes in ntfs_setattr(). This completes
authorAnton Altaparmakov <aia21@cantab.net>
Tue, 4 Oct 2005 15:01:06 +0000 (16:01 +0100)
committerAnton Altaparmakov <aia21@cantab.net>
Tue, 4 Oct 2005 15:01:06 +0000 (16:01 +0100)
commite9438250b635f7832e99a8c8d2e394dd1522ce65
treee91de9667aa45e9f02387a2dc013982af245d029
parentdd072330d1a60be11a5c284fa1e645350750a4fc
NTFS: Enable ATTR_SIZE attribute changes in ntfs_setattr().  This completes
      the initial implementation of file truncation.  Now both open(2)ing
      a file with the O_TRUNC flag and the {,f}truncate(2) system calls
      will resize a file appropriately.  The limitations are that only
      uncompressed and unencrypted files are supported.  Also, there is
      only very limited support for highly fragmented files (the ones whose
      $DATA attribute is split into multiple attribute extents).

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
fs/ntfs/ChangeLog
fs/ntfs/inode.c