History log of /linux/fs/attr.c (Results 801 – 825 of 830)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0a3a98f6 09-Jan-2006 Russell King <rmk@dyn-67.arm.linux.org.uk>

Merge Linus' tree.


# 4a30131e 08-Jan-2006 NeilBrown <neilb@suse.de>

[PATCH] Fix some problems with truncate and mtime semantics.

SUS requires that when truncating a file to the size that it currently
is:
truncate and ftruncate should NOT modify ctime or mtime
O_

[PATCH] Fix some problems with truncate and mtime semantics.

SUS requires that when truncating a file to the size that it currently
is:
truncate and ftruncate should NOT modify ctime or mtime
O_TRUNC SHOULD modify ctime and mtime.

Currently mtime and ctime are always modified on most local
filesystems (side effect of ->truncate) or never modified (on NFS).

With this patch:
ATTR_CTIME|ATTR_MTIME are sent with ATTR_SIZE precisely when
an update of these times is required whether size changes or not
(via a new argument to do_truncate). This allows NFS to do
the right thing for O_TRUNC.
inode_setattr nolonger forces ATTR_MTIME|ATTR_CTIME when the ATTR_SIZE
sets the size to it's current value. This allows local filesystems
to do the right thing for f?truncate.

Also, the logic in inode_setattr is changed a bit so there are two return
points. One returns the error from vmtruncate if it failed, the other
returns 0 (there can be no other failure).

Finally, if vmtruncate succeeds, and ATTR_SIZE is the only change
requested, we now fall-through and mark_inode_dirty. If a filesystem did
not have a ->truncate function, then vmtruncate will have changed i_size,
without marking the inode as 'dirty', and I think this is wrong.

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

show more ...


Revision tags: v2.6.15, v2.6.15-rc7, v2.6.15-rc6
# 3d5271f9 06-Dec-2005 Len Brown <len.brown@intel.com>

Pull release into acpica branch


Revision tags: v2.6.15-rc5, v2.6.15-rc4, v2.6.15-rc3, v2.6.15-rc2, v2.6.15-rc1
# 2fc29911 06-Nov-2005 Thomas Gleixner <tglx@mtd.linutronix.de>

Merge branch 'master' of /home/tglx/work/mtd/git/linux-2.6.git/


# 18ce920a 05-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 8cedcfd4 05-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 7211bb9b 05-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 87199134 05-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 328198ac 05-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# c2cc87ca 05-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# c7fb577e 31-Oct-2005 Tony Luck <tony.luck@intel.com>

manual update from upstream:

Applied Al's change 06a544971fad0992fe8b92c5647538d573089dd4
to new location of swiotlb.c

Signed-off-by: Tony Luck <tony.luck@intel.com>


# 53b2ec55 31-Oct-2005 Steve French <sfrench@us.ibm.com>

Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git


# 1f04c0a2 31-Oct-2005 Anton Altaparmakov <aia21@cantab.net>

Merge branch 'master' of /usr/src/ntfs-2.6/


# 23fd0775 31-Oct-2005 Paul Mackerras <paulus@samba.org>

Merge ../linux-2.6 by hand


# b3099b48 31-Oct-2005 Alexey Dobriyan <adobriyan@gmail.com>

[PATCH] fs/attr.c: remove BUG()

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>


Revision tags: v2.6.14, v2.6.14-rc5, v2.6.14-rc4, v2.6.14-rc3, v2.6.14-rc2, v2.6.14-rc1
# c1b054d0 29-Aug-2005 Jeff Garzik <jgarzik@pobox.com>

Merge /spare/repo/linux-2.6/


# 2fca877b 29-Aug-2005 Jeff Garzik <jgarzik@pobox.com>

/spare/repo/libata-dev branch 'v2.6.13'


Revision tags: v2.6.13, v2.6.13-rc7
# a8b3e6f1 18-Aug-2005 Dave Jones <davej@redhat.com>

Merge /pub/scm/linux/kernel/git/torvalds/linux-2.6


# 2f058256 10-Aug-2005 Jeff Garzik <jgarzik@pobox.com>

Merge /spare/repo/linux-2.6/


Revision tags: v2.6.13-rc6, v2.6.13-rc5
# bdf242ee 30-Jul-2005 Dave Airlie <airlied@starflyer.(none)>

Merge ../linux-2.6/


Revision tags: v2.6.13-rc4
# 08cd84c8 14-Jul-2005 Jeff Garzik <jgarzik@pobox.com>

Merge /spare/repo/netdev-2.6 branch 'ieee80211'


# c5147207 14-Jul-2005 Anton Altaparmakov <aia21@cantab.net>

Automatic merge with /usr/src/ntfs-2.6.git.


# 327309e8 13-Jul-2005 Jeff Garzik <jgarzik@pobox.com>

Merge upstream 2.6.13-rc3 into ieee80211 branch of netdev-2.6.


# 99ad25a3 13-Jul-2005 Tony Luck <tony.luck@intel.com>

Auto merge with /home/aegl/GIT/linus


# 4887c618 13-Jul-2005 Steve French <sfrench@hera.kernel.org>

Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git


1...<<31323334