aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/seq_file.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/filesystems/seq_file.txt b/Documentation/filesystems/seq_file.txt
index a1e2e0dda907..1fe0ccb1af55 100644
--- a/Documentation/filesystems/seq_file.txt
+++ b/Documentation/filesystems/seq_file.txt
@@ -54,6 +54,15 @@ how the mechanism works without getting lost in other details. (Those
54wanting to see the full source for this module can find it at 54wanting to see the full source for this module can find it at
55http://lwn.net/Articles/22359/). 55http://lwn.net/Articles/22359/).
56 56
57Deprecated create_proc_entry
58
59Note that the above article uses create_proc_entry which was removed in
60kernel 3.10. Current versions require the following update
61
62- entry = create_proc_entry("sequence", 0, NULL);
63- if (entry)
64- entry->proc_fops = &ct_file_ops;
65+ entry = proc_create("sequence", 0, NULL, &ct_file_ops);
57 66
58The iterator interface 67The iterator interface
59 68