commit | b70a80e7a133a0c86f2fa078e7c144597c516415 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Tue Oct 01 16:44:54 2013 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Oct 24 23:41:37 2013 -0400 |
tree | 378dbeeafc1510fb326eda10e1f48085be098f6c | |
parent | 94e92a6e772e009e27083a7f42d49a179e5f668c [diff] |
vfs: introduce d_instantiate_no_diralias() ...which just returns -EBUSY if a directory alias would be created. This is to be used by fuse mkdir to make sure that a buggy or malicious userspace filesystem doesn't do anything nasty. Previously fuse used a private mutex for this purpose, which can now go away. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>