FileNode.cpp (encfs-1.9.4) | : | FileNode.cpp (encfs-1.9.5) | ||
---|---|---|---|---|
skipping to change at line 231 | skipping to change at line 231 | |||
int FileNode::getAttr(struct stat *stbuf) const { | int FileNode::getAttr(struct stat *stbuf) const { | |||
Lock _lock(mutex); | Lock _lock(mutex); | |||
int res = io->getAttr(stbuf); | int res = io->getAttr(stbuf); | |||
return res; | return res; | |||
} | } | |||
off_t FileNode::getSize() const { | off_t FileNode::getSize() const { | |||
Lock _lock(mutex); | Lock _lock(mutex); | |||
int res = io->getSize(); | off_t res = io->getSize(); | |||
return res; | return res; | |||
} | } | |||
ssize_t FileNode::read(off_t offset, unsigned char *data, size_t size) const { | ssize_t FileNode::read(off_t offset, unsigned char *data, size_t size) const { | |||
IORequest req; | IORequest req; | |||
req.offset = offset; | req.offset = offset; | |||
req.dataLen = size; | req.dataLen = size; | |||
req.data = data; | req.data = data; | |||
Lock _lock(mutex); | Lock _lock(mutex); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |