Re: [PATCH] quota: fix reserved space management for ordinary fs

From: Jan Kara
Date: Tue Jan 12 2010 - 07:24:01 EST


On Fri 08-01-10 07:52:15, Greg KH wrote:
> On Fri, Jan 08, 2010 at 01:41:39PM +0100, Jan Kara wrote:
> > On Fri 08-01-10 03:53:54, Dmitry Monakhov wrote:
> > >
> > > In fact inode_get_rsv_space() function is special in comparison
> > > with inode_{add,sub,claim}_rsv_space() functions, because
> > > it may return correct result even for fs without reserved space
> > > support(correct val == 0). Add trivial check for that case.
> > > The patch fix regression(BUG at fs/quota/dquot.c:1350) introduced
> > > in following commit: fd8fbfc1709822bd94247c5b2ab15a5f5041e103
> > >
> > > Signed-off-by: Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
> > Acked-by: Jan Kara <jack@xxxxxxx>
> >
> > Greg, please merge this patch to stable series. I'll push the same
> > patch I have in my tree to Linus on Monday.
>
> I can't merge it to the -stable tree until it shows up in Linus's tree,
> so I'll wait for that to happen.
OK, Linus has pulled. It's commit
05b5d898235401c489c68e1f3bc5706a29ad5713. Please include it in both stable
trees that have the commit fd8fbfc1709822bd94247c5b2ab15a5f5041e103.
Thanks!

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
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/