Re: [WIP PATCH][CIFS] move legacy cifs (smb1) code to legacy ifdef and do not include in build when legacy disabled

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

 



On 08/01, Steve French wrote:
On Mon, Aug 1, 2022 at 10:49 AM Tom Talpey <tom@xxxxxxxxxx> wrote:

I think a big chunk of cifsfs.c, and a boatload of module params,
can be similarly conditionalized.

Good point - and will make it easier to read as well.  Perhaps I can
move most of cifsfs.c to smbfs.c and just leave smb1 specific
things in cifsfs.c so it can be optionally compiled out?

Btw, AFAICS ioctl.o can also be moved to CONFIG_CIFS_ALLOW_INSECURE_LEGACY
without any other changes.



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux