diff options
author | Brian Foster <bfoster@redhat.com> | 2014-05-06 07:34:28 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-05-06 07:34:28 +1000 |
commit | d540e43b0ab134b22f015f725ce6e070d12b0244 (patch) | |
tree | 3956057bf1b939329cacf1d2e99654632df92b7c /lib/uuid.c | |
parent | c99d609a16506602a7398eea7d12b13513f3d889 (diff) | |
download | op-kernel-dev-d540e43b0ab134b22f015f725ce6e070d12b0244.zip op-kernel-dev-d540e43b0ab134b22f015f725ce6e070d12b0244.tar.gz |
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 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions