Commit 9be53fe6 authored by Eric Sandeen's avatar Eric Sandeen Committed by Andrew Morton
Browse files

ocfs2: convert to the new mount API

Convert ocfs2 to the new mount API.

Link: https://lkml.kernel.org/r/20241028144443.609151-3-sandeen@redhat.com


Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
Reviewed-by: default avatarGoldwyn Rodrigues <rgoldwyn@suse.com>
Tested-by: default avatarGoldwyn Rodrigues <rgoldwyn@suse.com>
Acked-by: default avatarJoseph Qi <joseph.qi@linux.alibaba.com>
Tested-by: default avatarJoseph Qi <joseph.qi@linux.alibaba.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Mark Fasheh <mark@fasheh.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 94e0c289
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -1658,34 +1658,34 @@ TRACE_EVENT(ocfs2_remount,
);

TRACE_EVENT(ocfs2_fill_super,
	TP_PROTO(void *sb, void *data, int silent),
	TP_ARGS(sb, data, silent),
	TP_PROTO(void *sb, void *fc, int silent),
	TP_ARGS(sb, fc, silent),
	TP_STRUCT__entry(
		__field(void *, sb)
		__field(void *, data)
		__field(void *, fc)
		__field(int, silent)
	),
	TP_fast_assign(
		__entry->sb = sb;
		__entry->data = data;
		__entry->fc = fc;
		__entry->silent = silent;
	),
	TP_printk("%p %p %d", __entry->sb,
		  __entry->data, __entry->silent)
		  __entry->fc, __entry->silent)
);

TRACE_EVENT(ocfs2_parse_options,
	TP_PROTO(int is_remount, char *options),
	TP_ARGS(is_remount, options),
	TP_PROTO(int is_remount, const char *option),
	TP_ARGS(is_remount, option),
	TP_STRUCT__entry(
		__field(int, is_remount)
		__string(options, options)
		__string(option, option)
	),
	TP_fast_assign(
		__entry->is_remount = is_remount;
		__assign_str(options);
		__assign_str(option);
	),
	TP_printk("%d %s", __entry->is_remount, __get_str(options))
	TP_printk("%d %s", __entry->is_remount, __get_str(option))
);

DEFINE_OCFS2_POINTER_EVENT(ocfs2_put_super);
+267 −322

File changed.

Preview size limit exceeded, changes collapsed.