Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758945AbcLUIUW (ORCPT ); Wed, 21 Dec 2016 03:20:22 -0500 Received: from victor.provo.novell.com ([137.65.250.26]:48532 "EHLO prv3-mh.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbcLUIUV (ORCPT ); Wed, 21 Dec 2016 03:20:21 -0500 From: Gang He To: mfasheh@versity.com, jlbec@evilplan.org Cc: Gang He , linux-kernel@vger.kernel.org, ocfs2-devel@oss.oracle.com, akpm@linux-foundation.org Subject: [PATCH v2 0/4] ocfs2: use kobject for online file check Date: Wed, 21 Dec 2016 16:20:57 +0800 Message-Id: <1482308461-12964-1-git-send-email-ghe@suse.com> X-Mailer: git-send-email 1.8.5.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 999 Lines: 28 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. The changed code is based on Goldwyn Rodrigues's patches and ext4 fs code, there is not any new features added, except some very small fixes during this code refactoring. Second, the code change does not affect the underlying file check code. Thank Goldwyn very much. Compare with first version, split the code change into four patches, make sure each patch will not bring ocfs2 kernel modules compiling errors. Gang He (4): ocfs2: move some definitions to header file ocfs2: fix some small problems ocfs2: add kobject for online file check ocfs2: add duplicative ino number check fs/ocfs2/filecheck.c | 357 ++++++++++++++++++++------------------------------- fs/ocfs2/filecheck.h | 29 ++++- fs/ocfs2/ocfs2.h | 8 ++ fs/ocfs2/super.c | 27 +++- 4 files changed, 194 insertions(+), 227 deletions(-) -- 1.8.5.6