fs/ocfs2/cluster: use setup_timer
authorGeliang Tang <geliangtang@gmail.com>
Wed, 3 May 2017 21:51:38 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 May 2017 22:52:07 +0000 (15:52 -0700)
commit667b8a37f34b39f752f59f4808762bd5c7688a71
tree48e0d5a150f2ed05f9d18d32aebdc1c0ce687188
parentaccce8e7e8b769ec2430bc0f4a8a2b23c68c1837
fs/ocfs2/cluster: use setup_timer

Use setup_timer() instead of init_timer() to simplify the code.

Link: http://lkml.kernel.org/r/5e75bf07beb91e092d5aa36c36769949a480456a.1489060564.git.geliangtang@gmail.com
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/cluster/tcp.c