The patch titled Subject: ocfs2: create/remove sysfile for online file check has been added to the -mm tree. Its filename is ocfs2-create-remove-sysfile-for-online-file-check.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-create-remove-sysfile-for-online-file-check.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-create-remove-sysfile-for-online-file-check.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Gang He <ghe@xxxxxxxx> Subject: ocfs2: create/remove sysfile for online file check Create online file check sysfile when ocfs2 mount, remove the related sysfile when ocfs2 umount. Signed-off-by: Gang He <ghe@xxxxxxxx> Reviewed-by: Goldwyn Rodrigues <rgoldwyn@xxxxxxx> Cc: Mark Fasheh <mfasheh@xxxxxxxx> Cc: Joel Becker <jlbec@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ocfs2/super.c | 5 +++++ 1 file changed, 5 insertions(+) diff -puN fs/ocfs2/super.c~ocfs2-create-remove-sysfile-for-online-file-check fs/ocfs2/super.c --- a/fs/ocfs2/super.c~ocfs2-create-remove-sysfile-for-online-file-check +++ a/fs/ocfs2/super.c @@ -74,6 +74,7 @@ #include "suballoc.h" #include "buffer_head_io.h" +#include "filecheck.h" static struct kmem_cache *ocfs2_inode_cachep; struct kmem_cache *ocfs2_dquot_cachep; @@ -1204,6 +1205,9 @@ static int ocfs2_fill_super(struct super /* Start this when the mount is almost sure of being successful */ ocfs2_orphan_scan_start(osb); + /* Create filecheck sysfile /sys/fs/ocfs2/<devname>/filecheck */ + ocfs2_filecheck_create_sysfs(sb); + return status; read_super_error: @@ -1671,6 +1675,7 @@ static void ocfs2_put_super(struct super ocfs2_sync_blockdev(sb); ocfs2_dismount_volume(sb, 0); + ocfs2_filecheck_remove_sysfs(sb); } static int ocfs2_statfs(struct dentry *dentry, struct kstatfs *buf) _ Patches currently in -mm which might be from ghe@xxxxxxxx are ocfs2-export-ocfs2_kset-for-online-file-check.patch ocfs2-sysfile-interfaces-for-online-file-check.patch ocfs2-sysfile-interfaces-for-online-file-check-fix.patch ocfs2-create-remove-sysfile-for-online-file-check.patch ocfs2-check-fix-inode-block-for-online-file-check.patch ocfs2-add-feature-document-for-online-file-check.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html