linux/fs/debugfs
Stephen Boyd b97f679954 debugfs: Consolidate file mode checks in debugfs_create_*()
The code that creates debugfs file with different file ops based
on the file mode is duplicated in each debugfs_create_*() API.
Consolidate that code into debugfs_create_mode(), that takes
three file ops structures so that we don't have to keep
copy/pasting that logic.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-17 22:09:03 -07:00
..
file.c debugfs: Consolidate file mode checks in debugfs_create_*() 2015-10-17 22:09:03 -07:00
inode.c debugfs: document that debugfs_remove*() accepts NULL and error values 2015-10-04 11:36:07 +01:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00