Commit 5a5aa765 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d13726ba
......@@ -799,14 +799,14 @@ func (f *BigFile) invalidateBlk(ctx context.Context, blk int64) error {
}
// invalidateAttr invalidates file attributes in kernel cache.
func (f *BigFile) invalidateAttr() error {
log.Error("AAA")
func (f *BigFile) invalidateAttr() (err error) {
defer xerr.Contextf(&err, "%s: invalidate attr", "XXX") // XXX -> f.path
fsconn := gfsconn
st := fsconn.FileNotify(f.Inode(), -1, -1) // metadata only
// st != ok
_ = st
panic("TODO")
if st != fuse.OK {
return syscall.Errno(st)
}
return nil
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment