configfs: handle kzalloc() failure in check_perm()
authorChandra Seetharaman <sekharan@us.ibm.com>
Tue, 10 Oct 2006 22:15:55 +0000 (15:15 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 20 Oct 2006 22:29:00 +0000 (15:29 -0700)
check_perm() does not drop the reference to the module when kzalloc()
failure occurs.

Signed-Off-By: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/configfs/file.c

Simple merge