2.6.10-rc2-mm4 - cifs.ko needs unknown symbol CIFSSMBSetPosixACL
Thanks I have just updated fs/Kconfig and fs/cifs/xattr.c in the patch (actually in the cifs bk tree) to make the cifs POSIX ACL enablement dependent on cifs xattrs and to properly ifdef that function as it was in the CIFSSMBGetPosixACL
Today I had also made some minor error mapping changes on errors when various types of servers don't support POSIX ACLs (the servers did not return consistent error messages).
The CIFS code has had major recent update (most importantly the cifs_readdir rewrite which can be enabled in mm by "echo 1 > /proc/fs/cifs/NewReaddirEnabled", but also the POSIX ACL support which will work to Samba 3.10pre server, and also various misc fixes).
If the testing of the readdir change goes ok, and the misc. Windows and Samba testing continues ok over the next few days I would like to push this up (although I will remove the /proc/fs/cifs/NewReaddirEnabled and the corresponding old cifs_readdir, and the old CIFSSMBFindFirst and CIFSSMBFindNext routines when I get additional feedback from the mm tree and users running the equivalent cifs only patch).
Let me know if you find any additional problems.
Thanks,
Steve
Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com
Andrew Morton <[email protected]> wrote on 11/30/2004 05:53:21 PM:
Quoted 9 lines
Quoted 2 lines · Eyal Lebedinsky
WARNING:
/lib/modules/2.6.10-rc2-mm4/kernel/fs/cifs/cifs.koneedsunknown symbol CIFSSMBSetPosixACL
Quoted 2 lines
Either it is really missing or a dependecy is not declared somewhere.
It looks like there's a slipup in bk-cifs.patch. If you enable
CONFIG_CIFS_POSIXit'll probably link OK.
Quoted 4 lines · Steve French
The CIFS code has had major recent update (most importantly the
cifs_readdirrewrite which can be enabled in mm by "echo 1 >/proc/fs/cifs/NewReaddirEnabled",
Nobody will do that, so the new code won't get tested.
In keeping with my evil plan to drive -mm users insane, could I ask that you send me a diff which will make the new readdir code default to "on"?
Quoted 14 lines · Andrew Morton
Quoted 3 lines · Steve French
The CIFS code has had major recent update (most importantly the
cifs_readdirrewrite which can be enabled in mm by "echo 1 >/proc/fs/cifs/NewReaddirEnabled",Nobody will do that, so the new code won't get tested.
In keeping with my evil plan to drive -mm users insane, could I ask that you send me a diff which will make the new readdir code default to "on"?
OK - done. Default is now to use cifs_readdir2 (new code) and to go back to the old code -
"echo 1 > /proc/fs/cifs/ReenableOldCifsReaddirCode"
The update is in the cifs bk tree (bk://cifs.bkbits.net/linux-2.5cifs) and this particular minor patch in diff -Nau form is:
http://cifs.bkbits.net:8080/linux-2.5cifs/gnupatch@41ad739b4xCWzpJKDse0JW4Ep5y3LQ