+66
−94
Loading
allocating dentry after the inode has been set up reduces the amount of boilerplate - "attach this inode under that name and this parent or drop inode in case of failure" simplifies quite a few places. Acked-by:Paul Moore <paul@paul-moore.com> Reviewed-by:
Stephen Smalley <stephen.smalley.work@gmail.com> Tested-by:
Stephen Smalley <stephen.smalley.work@gmail.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>