]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - misc/create_inode.c
misc/create_inode.c: copy regular file
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 6 Mar 2014 16:00:24 +0000 (11:00 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Mar 2014 16:00:24 +0000 (11:00 -0500)
commitce600dc4aa4e5a111cac1ac70abaf34de45cc31c
tree397ffefe7e4dd7c00546d73fd5f30c3458153efd
parentb25ddc5ed5dab31c99781540c94de23158758fa4
misc/create_inode.c: copy regular file

The do_write_internal() is used for copying file from native fs to
target, 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