From: Eric Sandeen Date: Tue, 9 Sep 2014 01:58:07 +0000 (+1000) Subject: xfs: combine xfs_dir_canenter into xfs_dir_createname X-Git-Tag: omap-for-v3.19/prcm-cleanup~101^2~6^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b16ed7c114b8cca45fa87b675c431f43ff90c179;p=pandora-kernel.git xfs: combine xfs_dir_canenter into xfs_dir_createname xfs_dir_canenter and xfs_dir_createname are almost identical. Fold the former into the latter, with a helpful wrapper for the former. If createname is called without an inode number, it now only checks for space, and does not actually add the entry. Signed-off-by: Eric Sandeen Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- Reading git-diff-tree failed