]> 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)
commit8c4bd209982945ce92c0159b2e83a6a2ef5277ca
tree57d6f96a5d67e5a899c88f92e76263d4bd05acee
parentdc4e0d0b58786774e7e3aefe0ae3ad657283c4df
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