Re: [RFC] VFS: Export dquot_send_warning

From: Steven Whitehouse
Date: Mon Sep 28 2009 - 03:26:35 EST


Hi,

On Sat, 2009-09-26 at 12:29 -0400, Christoph Hellwig wrote:
> On Wed, Sep 23, 2009 at 01:25:20PM +0100, Steven Whitehouse wrote:
> > Hi,
> >
> > It would be useful to have a generic method of sending quota messages
> > to userspace. The dquot code has such a method, but it can only currently
> > be used by that code, so I'm wondering whether there would be any objections
> > to exporting it so that other (non-dquot) filesystems could use it?
> >
> > My proposed (first draft) patch is below,
>
> If you want to use it without the "generic" quotas it needs to move
> from dquota.c to quota.c. And of course a user in the patch series
> makes the likelyhood of getting this included muc higher :)
>

Yes, I have a patch to make use of this from GFS2 though I didn't sent
it in the first instance as its trivial and I was more worried about the
generic idea being acceptable. Anyway, I'll send an updated patch,
including moving/renaming where required, shortly,

Steve.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/