summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_rtalloc.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2014-09-09 05:58:07 +0400
committerDave Chinner <david@fromorbit.com>2014-09-09 05:58:07 +0400
commitb16ed7c114b8cca45fa87b675c431f43ff90c179 (patch)
tree21eec93b0e68a5377e4e946eda8b399581345774 /fs/xfs/xfs_rtalloc.h
parent94f3cad555d66048906deade06a764f7ea2c6e4d (diff)
downloadlinux-b16ed7c114b8cca45fa87b675c431f43ff90c179.tar.xz
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