diff options
| author | Eric Dumazet <[email protected]> | 2007-02-10 01:44:49 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-02-11 10:51:25 -0800 |
| commit | 37756ced1f145aec18917812c3b8a96dbb47990d (patch) | |
| tree | a293813e3dce24a161c2cf029c4139086a23d978 /include/linux/debugobjects.h | |
| parent | 4ba4d4c0c52201009232fe9e781a281054a24e75 (diff) | |
[PATCH] avoid one conditional branch in touch_atime()
I added IS_NOATIME(inode) macro definition in include/linux/fs.h, true if
the inode superblock is marked readonly or noatime.
This new macro is then used in touch_atime() instead of separatly testing
MS_RDONLY and MS_NOATIME
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions