diff options
author | Andreas Mohr <andi@rhlx01.fht-esslingen.de> | 2006-10-02 05:17:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:14 -0400 |
commit | ed97bd37efd8ff7398d3a7eedf4bcbf245f5dad3 (patch) | |
tree | 79817438dc5b3e004ba91d593228dc8aefcda3e8 /drivers/char/ip2 | |
parent | 07acaf28d21e710bcf1cec91c0cfdb1a7b5e3d65 (diff) |
[PATCH] fs/inode.c tweaks
Only touch inode's i_mtime and i_ctime to make them equal to "now" in case
they aren't yet (don't just update timestamp unconditionally). Uninline
the hash function to save 259 Bytes.
This tiny inode change which may improve cache behaviour also shaves off 8
Bytes from file_update_time() on i386.
Included a tiny codestyle cleanup, too.
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/ip2')
0 files changed, 0 insertions, 0 deletions