]> err.no Git - linux-2.6/commit
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)
commit559c9ac391c046710bdeee5581dc5d9dda794881
tree78cdf1ebc1027028b7e1e01d4ed34f2cf18742c9
parente2057c5a63821e17c8a54dab6db680c77ce7ee6c
configfs: handle kzalloc() failure in check_perm()

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