|
@ -324,13 +324,6 @@ _open_for_update_lambda(const fuse_context *fc_, |
|
|
ffi_, |
|
|
ffi_, |
|
|
false, // link_cow, need to always open the original
|
|
|
false, // link_cow, need to always open the original
|
|
|
cfg->nfsopenhack); |
|
|
cfg->nfsopenhack); |
|
|
fmt::print("open update {} {} {}\n", |
|
|
|
|
|
of_->fi->fd, |
|
|
|
|
|
rv, |
|
|
|
|
|
strerror(rv)); |
|
|
|
|
|
fmt::print("read: {}\n", |
|
|
|
|
|
fs::read(of_->fi->fd,(void*)&rv,sizeof(rv))); |
|
|
|
|
|
rv = 0; |
|
|
|
|
|
if(rv < 0) |
|
|
if(rv < 0) |
|
|
return rv; |
|
|
return rv; |
|
|
|
|
|
|
|
|