xfs: merge xfs_mkdir into xfs_create
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Feb 2009 07:38:02 +0000 (08:38 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 9 Feb 2009 07:38:02 +0000 (08:38 +0100)
commit517b5e8c8516a25a0df3b530fd183eb493a96698
treec9634c27127410f5522f78d854bd6b9e68f0e3dc
parenta568778739030fb68805dda1af2f4ebbc3adad7d
xfs: merge xfs_mkdir into xfs_create

xfs_create and xfs_mkdir only have minor differences, so merge both of them
into a sigle function.  While we're at it also make the error handling code
more straight-forward.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Dave Chinner <david@fromorbit.com>
fs/xfs/linux-2.6/xfs_iops.c
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.h