]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fs: remove redundant timespec_equal test in update_atime()
authorTejun Heo <htejun@gmail.com>
Tue, 6 Sep 2005 22:17:36 +0000 (15:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:31 +0000 (16:57 -0700)
commita40059ac406a2f2bbdb2338663d08d8c52ae0e5f
tree17ffd8eb4222ac954d9f82c7450f52dfae73fe71
parente00012f49d719bc0a976e0d3c382875a4cc488a7
[PATCH] fs: remove redundant timespec_equal test in update_atime()

In update_atime(), timespec_equal() test is done twice in succession and
the second is always false.  This patch removes the second test.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/inode.c