| 893 | } |
| 894 | #endif |
| 895 | uint64_t Inode::effective_size() const |
| 896 | { |
| 897 | if (fscrypt_file.size() < sizeof(uint64_t) || !client->get_fscrypt_as()) { |
| 898 | return size; |
| 899 | } |
| 900 | |
| 901 | return *(ceph_le64 *)fscrypt_file.data(); |
| 902 | } |
| 903 | |
| 904 | void Inode::set_effective_size(uint64_t size) |
| 905 | { |
no test coverage detected