add debug info

This commit is contained in:
chrislu 2024-11-06 11:59:00 -08:00
parent 9a5d3e7b31
commit 62c4980754

View File

@ -11,6 +11,7 @@ import (
) )
func (wfs *WFS) GetAttr(cancel <-chan struct{}, input *fuse.GetAttrIn, out *fuse.AttrOut) (code fuse.Status) { func (wfs *WFS) GetAttr(cancel <-chan struct{}, input *fuse.GetAttrIn, out *fuse.AttrOut) (code fuse.Status) {
glog.V(4).Infof("GetAttr %v", input.NodeId)
if input.NodeId == 1 { if input.NodeId == 1 {
wfs.setRootAttr(out) wfs.setRootAttr(out)
return fuse.OK return fuse.OK