From: Joel Becker Date: Thu, 12 Jun 2008 21:00:18 +0000 (-0700) Subject: configfs: Allow ->make_item() and ->make_group() to return detailed errors. X-Git-Tag: v2.6.27-rc1~1036^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11c3b79218390a139f2d474ee1e983a672d5839a;p=pandora-kernel.git configfs: Allow ->make_item() and ->make_group() to return detailed errors. The configfs operations ->make_item() and ->make_group() currently return a new item/group. A return of NULL signifies an error. Because of this, -ENOMEM is the only return code bubbled up the stack. Multiple folks have requested the ability to return specific error codes when these operations fail. This patch adds that ability by changing the ->make_item/group() ops to return an int. Also updated are the in-kernel users of configfs. Signed-off-by: Joel Becker --- Reading git-diff-tree failed