[OpenAFS] open/free imbalance

Frank Burkhardt fbo2@gmx.net
Mon, 23 Nov 2009 09:52:29 +0100


Hello everyone,

to prevent security issues, I upgraded to a more recent kernel. It's
2.6.31.6 - without any patches from kernel.org. Since I'm using that kernel
with openafs 1.4.11 (actually it's Russ Allbery's Debian package, version
1.4.11+dfsg-5), my kernel prints out lots of lines like this:

 ima_file_free: V9356 open/free imbalance (r:0 w:-21 o:-21 f:0)

and sometimes bugs like that:

Pid: 5626, comm: afs_cachetrim Tainted: P           2.6.31.6-f4c #1
Call Trace:
 [<c11af2d8>] ima_file_free+0x83/0xdb
 [<c10ab6d9>] __fput+0xd1/0x172
 [<c10ab793>] fput+0x19/0x1b
 [<c10a8f14>] filp_close+0x51/0x5b
 [<f880d472>] osi_UFSClose+0x25/0x31 [openafs]
 [<f87d35ef>] afs_FreeDiscardedDCache+0x16a/0x206 [openafs]
 [<f87d7bbc>] afs_CacheTruncateDaemon+0x217/0x386 [openafs]
 [<f8816bce>] afsd_thread+0x34b/0x5c9 [openafs]
 [<f8816883>] ? afsd_thread+0x0/0x5c9 [openafs]
 [<c1009097>] kernel_thread_helper+0x7/0x10

All the numbers (except of the zeros) vary. Since V... seem to be
files of the AFS cache manager, I was wondering, if this has to
do with the AFS kernel module.

Does anyone know, what it means?

Regards,

Frank