From: Eric Dumazet Date: Sat, 10 Feb 2007 09:44:49 +0000 (-0800) Subject: [PATCH] avoid one conditional branch in touch_atime() X-Git-Tag: v2.6.21-rc1~274^2~369 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37756ced1f145aec18917812c3b8a96dbb47990d;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed