misc/create_inode.c: create special file
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 6 Mar 2014 16:00:24 +0000 (11:00 -0500)
committerChanho Park <chanho61.park@samsung.com>
Tue, 5 Aug 2014 04:37:17 +0000 (13:37 +0900)
commit663fc75b84b002d19618ef5f66fb49dd92baebbf
treecc4dd9bdf80929e5fa6cb7a448c9da1e4877da72
parentabb6498c0adede501614fa49af314a795211c604
misc/create_inode.c: create special file

The do_mknod_internal() is used for creating special file which is
block, character and fifo, most of the code are from debugfs/debugfs.c,
the debugfs/debugfs.c will be modified to use this function.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/create_inode.c