diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2014-09-09 11:58:07 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-09-09 11:58:07 +1000 |
commit | b16ed7c114b8cca45fa87b675c431f43ff90c179 (patch) | |
tree | 21eec93b0e68a5377e4e946eda8b399581345774 /fs/xfs/xfs_rtalloc.h | |
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>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.h')
0 files changed, 0 insertions, 0 deletions