diff options
| author | Jakob Unterwurzacher | 2018-10-01 21:39:19 +0200 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2019-01-01 16:24:09 +0100 |
| commit | 0e2e7c13cfc6d37f2521db99bf0393c37a5549d6 (patch) | |
| tree | 860fbf5081dd18dd0fcdd7830b86461aaf29453e /internal/fusefrontend/fs_dir.go | |
| parent | c09bf1f2284706232642431c75fa1f3d8500a9d0 (diff) | |
fusefrontend: mark symlink-safe FUSE calls
Document which FUSE calls are already symlink-safe in
the function comment.
Diffstat (limited to 'internal/fusefrontend/fs_dir.go')
| -rw-r--r-- | internal/fusefrontend/fs_dir.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/fusefrontend/fs_dir.go b/internal/fusefrontend/fs_dir.go index 76dff8e..8d27791 100644 --- a/internal/fusefrontend/fs_dir.go +++ b/internal/fusefrontend/fs_dir.go @@ -49,7 +49,9 @@ func (fs *FS) mkdirWithIv(dirfd int, cName string, mode uint32) error { return err } -// Mkdir implements pathfs.FileSystem +// Mkdir - FUSE call. Create a directory at "newPath" with permissions "mode". +// +// Symlink-safe through use of Mkdirat(). func (fs *FS) Mkdir(newPath string, mode uint32, context *fuse.Context) (code fuse.Status) { if fs.isFiltered(newPath) { return fuse.EPERM |
