Re: [PATCH] zcache: Fix build error when sysfs is not defined

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

 



On Thu, Aug 04, 2011 at 03:05:24PM -0700, Randy Dunlap wrote:
> On Fri, 11 Feb 2011 23:14:39 -0500 Nitin Gupta wrote:
> 
> > Signed-off-by: Nitin Gupta <ngupta@xxxxxxxxxx>
> > ---
> >  drivers/staging/zcache/zcache.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/staging/zcache/zcache.c b/drivers/staging/zcache/zcache.c
> > index 61be849..8cd3fd8 100644
> > --- a/drivers/staging/zcache/zcache.c
> > +++ b/drivers/staging/zcache/zcache.c
> > @@ -1590,9 +1590,9 @@ __setup("nofrontswap", no_frontswap);
> >  
> >  static int __init zcache_init(void)
> >  {
> > -#ifdef CONFIG_SYSFS
> >  	int ret = 0;
> >  
> > +#ifdef CONFIG_SYSFS
> >  	ret = sysfs_create_group(mm_kobj, &zcache_attr_group);
> >  	if (ret) {
> >  		pr_err("zcache: can't create sysfs\n");
> > -- 
> 
> OMG.  This patch still needs to be applied to linux-next 20110804..........
> sad.

Heh, thanks, I'll queue it up soon.

greg k-h
--
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