]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit5acd57936c3224fd86e838201e528e0169373e9b
tree17ffd8eb4222ac954d9f82c7450f52dfae73fe71
parent6c9c0b52b8c6b68b05bb06efd7079a8fc5e9ba60
[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