commit | b16ed7c114b8cca45fa87b675c431f43ff90c179 | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@sandeen.net> | Tue Sep 09 11:58:07 2014 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Tue Sep 09 11:58:07 2014 +1000 |
tree | 21eec93b0e68a5377e4e946eda8b399581345774 | |
parent | 94f3cad555d66048906deade06a764f7ea2c6e4d [diff] |
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 <sandeen@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>