]> err.no Git - linux-2.6/commit
[PATCH] hfs: don't dirty unchanged inode
authorRoman Zippel <zippel@linux-m68k.org>
Tue, 2 Aug 2005 04:11:40 +0000 (21:11 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 2 Aug 2005 04:38:00 +0000 (21:38 -0700)
commitf76d28d235cf777dd2e1c1d48c16ee10c1d1587f
treee0f47d7b83276d91298326eb818e3de7fa32a2f2
parent0072b1389c25355ccc01048114adb9652c13fd9f
[PATCH] hfs: don't dirty unchanged inode

If inode size hasn't changed, don't do anything further in truncate, which
also prevents a dirty inode, what might upset some readonly devices quite
badly.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/hfs/extent.c
fs/hfsplus/extents.c