fusefrontend: Fix order of arguments in debug message for Read() FUSE call.
This commit is contained in:
parent
87ced5f95d
commit
9ed60678e5
@ -243,7 +243,7 @@ func (f *File) Read(buf []byte, off int64) (resultData fuse.ReadResult, code fus
|
|||||||
f.fileTableEntry.ContentLock.RLock()
|
f.fileTableEntry.ContentLock.RLock()
|
||||||
defer f.fileTableEntry.ContentLock.RUnlock()
|
defer f.fileTableEntry.ContentLock.RUnlock()
|
||||||
|
|
||||||
tlog.Debug.Printf("ino%d: FUSE Read: offset=%d length=%d", f.qIno.Ino, len(buf), off)
|
tlog.Debug.Printf("ino%d: FUSE Read: offset=%d length=%d", f.qIno.Ino, off, len(buf))
|
||||||
if f.fs.args.SerializeReads {
|
if f.fs.args.SerializeReads {
|
||||||
serialize_reads.Wait(off, len(buf))
|
serialize_reads.Wait(off, len(buf))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user