CAPI: Sanitize capifs API
authorJan Kiszka <jan.kiszka@web.de>
Mon, 8 Feb 2010 10:12:06 +0000 (10:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 00:01:18 +0000 (16:01 -0800)
commit90926f0e58dcd9f4ca877961000568a3be787f2f
treed3c589a3debf2f692c5f5a7643a78b7f20cb7a60
parentc947862f9126983537a4cc11e07d26882d60b7e7
CAPI: Sanitize capifs API

Instead of looking up the dentry of an NCCI node again in
capifs_free_ncci pass the pointer via the capifs user.

This patch also reduces the #ifdef mess in capi.c a bit as far as capifs
was causing it.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capi.c
drivers/isdn/capi/capifs.c
drivers/isdn/capi/capifs.h