Displaying 1 result from an estimated 1 matches for "is_kernel_thread".
2010 Jan 29
0
[PATCH 3/3] ocfs2:freeze-thaw: make it work -v2
...cfs2/super.c
@@ -135,6 +135,10 @@ static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend);
static int ocfs2_enable_quotas(struct ocfs2_super *osb);
static void ocfs2_disable_quotas(struct ocfs2_super *osb);
static int ocfs2_freeze_lock_supported(struct ocfs2_super *osb);
+static int is_kernel_thread(void);
+static int ocfs2_freeze_fs(struct super_block *sb);
+static int is_freeze_master(struct ocfs2_super *osb);
+static int ocfs2_unfreeze_fs(struct super_block *sb);
static const struct super_operations ocfs2_sops = {
.statfs = ocfs2_statfs,
@@ -149,6 +153,8 @@ static const struct super_o...