summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot_item.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2014-05-05 23:34:28 +0200
committerDave Chinner <david@fromorbit.com>2014-05-05 23:34:28 +0200
commitd540e43b0ab134b22f015f725ce6e070d12b0244 (patch)
tree3956057bf1b939329cacf1d2e99654632df92b7c /fs/xfs/xfs_dquot_item.h
parentxfs: fully support v5 format filesystems (diff)
downloadlinux-d540e43b0ab134b22f015f725ce6e070d12b0244.tar.xz
linux-d540e43b0ab134b22f015f725ce6e070d12b0244.zip
xfs: initialize default acls for ->tmpfile()
The current tmpfile handler does not initialize default ACLs. Doing so within xfs_vn_tmpfile() makes it roughly equivalent to xfs_vn_mknod(), which is already used as a common create handler. xfs_vn_mknod() does not currently have a mechanism to determine whether to link the file into the namespace. Therefore, further abstract xfs_vn_mknod() into a new xfs_generic_create() handler with a tmpfile parameter. This new handler calls xfs_create_tmpfile() and d_tmpfile() on the dentry when called via ->tmpfile(). Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_dquot_item.h')
0 files changed, 0 insertions, 0 deletions