Skip to contentSkip to conversation

documentation-filesystems-seq_filetxt-create_proc_entry-deprecated.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 9, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

Subject: [merged] documentation-filesystems-seq_filetxt-create_proc_entry-deprecated.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 09 Jun 2014 12:33:17 -0700

The patch titled
Subject: Documentation/filesystems/seq_file.txt: create_proc_entry deprecated
has been removed from the -mm tree. Its filename was
documentation-filesystems-seq_filetxt-create_proc_entry-deprecated.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Fabian Frederick <[email protected]>
Subject: Documentation/filesystems/seq_file.txt: create_proc_entry deprecated

Linked article in seq_file.txt still uses create_proc_entry which was removed in 80e928f7ebb958 ("proc: Kill create_proc_entry()").

This patch adds information for kernel 3.10 and above

---

 Documentation/filesystems/seq_file.txt |    9 +++++++++
 1 file changed, 9 insertions(+)
Documentation/filesystems/seq_file.txt renamed from Documentation/filesystems/seq_file.txt~documentation-filesystems-seq_filetxt-create_proc_entry-deprecated +9 -0
diff -puN Documentation/filesystems/seq_file.txt~documentation-filesystems-seq_filetxt-create_proc_entry-deprecated Documentation/filesystems/seq_file.txt
@@ -54,6 +54,15 @@ how the mechanism works without getting
 wanting to see the full source for this module can find it at
 http://lwn.net/Articles/22359/).
 
+Deprecated create_proc_entry
+
+Note that the above article uses create_proc_entry which was removed in
+kernel 3.10. Current versions require the following update
+
+-	entry = create_proc_entry("sequence", 0, NULL);
+-	if (entry)
+-		entry->proc_fops = &ct_file_ops;
++	entry = proc_create("sequence", 0, NULL, &ct_file_ops);
 
 The iterator interface
 

_

Patches currently in -mm which might be from [email protected] are

origin.patch
fs-cifs-remove-obsolete-__constant.patch kernel-posix-timersc-code-clean-up.patch kernel-posix-timersc-code-clean-up-checkpatch-fixes.patch fs-ext4-fsyncc-generic_file_fsync-call-based-on-barrier-flag.patch fs-isofs-logging-clean-up.patch
linux-next.patch kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.patch init-mainc-code-clean-up.patch kernel-kprobesc-convert-printk-to-pr_foo.patch