[lkml]   [2008]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCHES] Re: Is configfs the right solution for configuration based fs?

On Wed, 2008-06-18 at 19:48 -0700, Joel Becker wrote:

> Ask, and ye shall receive. I've actually been meaning to look
> at this for a while. Please check out the branch configfs-attr-macros
> at my git tree. Actually, here is the configfs.h with macros, and
> configfs_example_macros.c using them. Let me know if this fits the
> bill.
> [config-attr-macros:include/linux/configfs.h]
> [config-attr-macros:Documentation/filesystems/configfs/configfs_example_macros.c]
> Compare and contrast with the original configfs_example.c (now
> configfs_example_explicit.c on that branch). The diff is available
> here:

Looks great, thx :-). I'll convert some of my stuff over to this
interface and see how it flies in the real world.

> > And the trival problem that, ISTR, failing the make_group method always
> > reports -ENOMEM to userspace, no matter what the actual problem was. I
> > think I had a patch around to pass the error code from make_group back
> > up through to userspace, I wonder what happened to that...
> I've also attacked this one. The change is in the
> make-item-errors branch. It's already scheduled for linux-next. Diff
> available here:

ISTR when I did this I kept the old semantics and used ERR_PTR and
friends if things went pear-shaped. Given the small number of in-tree
users needing to be moved over, a more intrusive change for the sake of
a cleaner API like you've done is probably a good thing anyway :-)

Thanks again,

 \ /
  Last update: 2008-06-20 08:21    [W:0.070 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site