]> Git Repo - linux.git/commit - fs/inode.c
[PATCH] fs/inode.c tweaks
authorAndreas Mohr <[email protected]>
Mon, 2 Oct 2006 09:17:17 +0000 (02:17 -0700)
committerLinus Torvalds <[email protected]>
Mon, 2 Oct 2006 14:57:14 +0000 (07:57 -0700)
commited97bd37efd8ff7398d3a7eedf4bcbf245f5dad3
tree79817438dc5b3e004ba91d593228dc8aefcda3e8
parent07acaf28d21e710bcf1cec91c0cfdb1a7b5e3d65
[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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/inode.c
This page took 0.049944 seconds and 4 git commands to generate.