]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: add kobject for online file check
authorGang He <ghe@suse.com>
Thu, 5 Apr 2018 23:19:29 +0000 (16:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Apr 2018 04:36:22 +0000 (21:36 -0700)
commit2b4fefa9896aef03e81985fda2a3739ad6d344be
tree57d6f96a5d67e5a899c88f92e76263d4bd05acee
parente0ea9f64105c1eb7996e2c4896b4913dc0d86f72
ocfs2: add kobject for online file check

Use embedded kobject mechanism for online file check feature, this will
avoid to use a global list to save/search per-device online file check
related data, meanwhile, reduce the code lines and make the code logic
clear.  The changed code is based on Goldwyn Rodrigues's patches and
ext4 fs code.

Link: http://lkml.kernel.org/r/1495611866-27360-4-git-send-email-ghe@suse.com
Signed-off-by: Gang He <ghe@suse.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <jiangqi903@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/filecheck.c
fs/ocfs2/filecheck.h
fs/ocfs2/ocfs2.h
fs/ocfs2/super.c