[linux-cifs-client] newer cifs version backported to old kernels

Jeff Layton jlayton at redhat.com
Tue May 1 16:29:46 GMT 2007


On Tue, May 01, 2007 at 11:43:01AM -0400, Jeff Layton wrote:
> On Wed, Apr 04, 2007 at 11:14:10PM -0500, Steve French wrote:
> > http://pserver.samba.org/samba/ftp/cifs-cvs/cifs-1.48a.tar.gz
> > 
> > Let me know if you have an older 2.6 kernel that this does not build on 
> > (I tried 2.6.21 and 2.6.18)
> > _______________________________________________
> > linux-cifs-client mailing list
> > linux-cifs-client at lists.samba.org
> > https://lists.samba.org/mailman/listinfo/linux-cifs-client
> > 
> 
> Hi Steve,
>    Working on porting this to RHEL5. Since it's a stable kernel, we don't have
> CONFIG_CIFS_EXPERIMENTAL enabled. Because everything in export.c is #ifdef'ed
> out, an export.o isn't built, and the build fails. The following patch worked
> around it, but I'm not sure it's the best way to handle this.
> 
> Signed-off-by: Jeff Layton <jlayton at redhat.com>
> 
> 
> diff --git a/fs/cifs/Makefile b/fs/cifs/Makefile
> index 6ecd9d6..1a77768 100644
> --- a/fs/cifs/Makefile
> +++ b/fs/cifs/Makefile
> @@ -3,4 +3,5 @@
>  #
>  obj-$(CONFIG_CIFS) += cifs.o
>  
> -cifs-objs := cifsfs.o cifssmb.o cifs_debug.o connect.o dir.o file.o inode.o link.o misc.o netmisc.o smbdes.o smbencrypt.o transport.o asn1.o md4.o md5.o cifs_unicode.o nterr.o xattr.o cifsencrypt.o fcntl.o readdir.o ioctl.o sess.o export.o
> +cifs-experimental-$(CONFIG_CIFS_EXPERIMENTAL) := export.o
> +cifs-objs := cifsfs.o cifssmb.o cifs_debug.o connect.o dir.o file.o inode.o link.o misc.o netmisc.o smbdes.o smbencrypt.o transport.o asn1.o md4.o md5.o cifs_unicode.o nterr.o xattr.o cifsencrypt.o fcntl.o readdir.o ioctl.o sess.o $(cifs-experimental-y)
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
> 

Doh! My mistake, this patch isn't necessary. I had forgotten to git add
export.c in my tree.
-- Jeff



More information about the linux-cifs-client mailing list