s3:vfs:gpfs: log when winAttr-garbage is detected (by heuristics) in is_offline
authorMichael Adam <obnox@samba.org>
Wed, 9 Jul 2014 21:56:34 +0000 (23:56 +0200)
committerChristof Schmitt <cs@samba.org>
Sun, 13 Jul 2014 06:59:11 +0000 (08:59 +0200)
commit26290ba8a45d4caf935995284a111ec57f77cfd7
tree6499763fe17620e28a1d9855b0d376d38aea9c00
parent31e67507144aae8d5a8ec49587ac89d2d94636f0
s3:vfs:gpfs: log when winAttr-garbage is detected (by heuristics) in is_offline

In is_offline(), check whether the winAttrs are filled with bits
outside 0xFFFF and log it prominently: Since GPFS only
fills 0xFFFF, this could be due to an uninitialized buffer
(or another vfs module filling vfs_private? ...).

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/modules/vfs_gpfs.c