SetXattr implements vfs.FileDescriptionImpl.SetXattr.
(ctx context.Context, opts vfs.SetXattrOptions)
| 1085 | |
| 1086 | // SetXattr implements vfs.FileDescriptionImpl.SetXattr. |
| 1087 | func (fd *fileDescription) SetXattr(ctx context.Context, opts vfs.SetXattrOptions) error { |
| 1088 | return fd.dentry().inode.setXattr(auth.CredentialsFromContext(ctx), &opts) |
| 1089 | } |
| 1090 | |
| 1091 | // RemoveXattr implements vfs.FileDescriptionImpl.RemoveXattr. |
| 1092 | func (fd *fileDescription) RemoveXattr(ctx context.Context, name string) error { |
nothing calls this directly
no test coverage detected