summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_da_btree.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2014-05-06 07:34:28 +1000
committerDave Chinner <david@fromorbit.com>2014-05-06 07:34:28 +1000
commitd540e43b0ab134b22f015f725ce6e070d12b0244 (patch)
tree3956057bf1b939329cacf1d2e99654632df92b7c /fs/xfs/xfs_da_btree.h
parentc99d609a16506602a7398eea7d12b13513f3d889 (diff)
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_da_btree.h')
0 files changed, 0 insertions, 0 deletions