| 586 | } |
| 587 | |
| 588 | int FileSystem::fsetxattr(FileHandle file, AttributeTag tag, const void* data, size_t size) |
| 589 | { |
| 590 | CHECK_MOUNTED() |
| 591 | |
| 592 | auto smb = getMetaBuffer(file); |
| 593 | if(smb == nullptr) { |
| 594 | return Error::InvalidHandle; |
| 595 | } |
| 596 | return smb->setxattr(tag, data, size); |
| 597 | } |
| 598 | |
| 599 | int FileSystem::fgetxattr(FileHandle file, AttributeTag tag, void* buffer, size_t size) |
| 600 | { |