ocfs2: add kobject for online file check
authorGang He <[email protected]>
Thu, 5 Apr 2018 23:19:29 +0000 (16:19 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 Apr 2018 04:36:22 +0000 (21:36 -0700)
commit5f483c4abb507d068b326f24e4ea3481db9cda06
tree57d6f96a5d67e5a899c88f92e76263d4bd05acee
parent8fc2cb4ba03ee3502ec23de825cd133f5388738f
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/[email protected]
Signed-off-by: Gang He <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Joseph Qi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ocfs2/filecheck.c
fs/ocfs2/filecheck.h
fs/ocfs2/ocfs2.h
fs/ocfs2/super.c