aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/support
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2008-03-06 13:45:29 +1100
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-18 11:39:45 +1000
commit44d814ced4cffbfe6a775c5bb8b941a6e734e7d9 (patch)
tree94e0cecd2b18cf2b126b702b30a8a982de3931e0 /fs/xfs/support
parent24bd861d1c3fff5248de7ba3bdddb3369087ad46 (diff)
downloadkernel_samsung_smdk4412-44d814ced4cffbfe6a775c5bb8b941a6e734e7d9.zip
kernel_samsung_smdk4412-44d814ced4cffbfe6a775c5bb8b941a6e734e7d9.tar.gz
kernel_samsung_smdk4412-44d814ced4cffbfe6a775c5bb8b941a6e734e7d9.tar.bz2
[XFS] Update c/mtime correctly on truncates
XFS changes the c/mtime of an inode when truncating it to the same size. The c/mtime is only supposed to change if the size is changed. Not to be confused with ftruncate, where the c/mtime is supposed to be changed even if the size is not changed. The Linux VFS encodes this semantic difference in the flags it sends down to ->setattr, which XFS currently ignores. We need to make XFS pay attention to the VFS flags and hence Do The Right Thing. SGI-PV: 977547 SGI-Modid: xfs-linux-melb:xfs-kern:30536a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/support')
0 files changed, 0 insertions, 0 deletions