Re: [RFC] configfs: Allow ->make_item() and ->make_group() to return detailed errors.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 12, 2008 at 02:19:55PM -0700, Joel Becker wrote:
> 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 <joel.becker@xxxxxxxxxx>

Looks good to me. Happy to see this change coming :)

Louis

-- 
Dr Louis Rilling			Kerlabs - IRISA
Skype: louis.rilling			Campus Universitaire de Beaulieu
Phone: (+33|0) 2 99 84 71 52		Avenue du General Leclerc
Fax: (+33|0) 2 99 84 71 71		35042 Rennes CEDEX - France
http://www.kerlabs.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux