[PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 7 Mar 2006 10:41:59 +0000 (21:41 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 21:42:59 +0000 (13:42 -0800)
commitdd308bc355a1aa4f202fe9a3133b6c676cb9606c
treeaccab2f0576da81d5e0ccfdbcc07f25a2a232008
parentc516865cfbac0d862d4888df91793ad1e74ffd58
[PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data

I wanted to export a binary blob via debugfs, and although it was pretty easy
it seems like it'd be easier if there was a helper for it. It's a pity we need
the wrapper struct but I can't see a cleaner way to do it.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/debugfs/file.c
include/linux/debugfs.h