fusefronted: downgrade fallocate message severity
The message causes output mismatches in xfstests generic/112. Downgrade the severity to Info so it gets disabled when using "-q".
This commit is contained in:
parent
01a078e7c0
commit
c51fc9e07d
@ -39,7 +39,7 @@ var allocateWarnOnce sync.Once
|
||||
func (f *File) Allocate(off uint64, sz uint64, mode uint32) fuse.Status {
|
||||
if mode != FALLOC_DEFAULT && mode != FALLOC_FL_KEEP_SIZE {
|
||||
f := func() {
|
||||
tlog.Warn.Printf("fallocate: only mode 0 (default) and 1 (keep size) are supported")
|
||||
tlog.Info.Printf("fallocate: only mode 0 (default) and 1 (keep size) are supported")
|
||||
}
|
||||
allocateWarnOnce.Do(f)
|
||||
return fuse.Status(syscall.EOPNOTSUPP)
|
||||
|
Loading…
Reference in New Issue
Block a user