udf: merge the pieces inserting a new non-directory object into directory

commit d2be51cb34 upstream.

boilerplate code in udf_{create,mknod,symlink} taken to new helper

symlink case converted to unique id calculated by udf_new_inode() - no
point finding a new one.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Al Viro 2014-09-04 09:34:14 -04:00 • committed by Ben Hutchings
commit 529eb82eaa