Messages in this thread | | | Date | Tue, 25 Feb 2014 15:24:43 +0000 | From | Sitsofe Wheeler <> | Subject | Stable backport of cifs nlink workaround? |
| |
Hi,
Is there any chance that 74d290da476f672ad756634d12aa707375d3564d ([CIFS] Provide sane values for nlink) could be backported to the stable 3.2 kernel?
The reason I ask is because if you Using a Debain Wheezy box with a 3.2.41-2+deb7u2 kernel the following is problematic:
Mount a share using cifs from a Windows 2008 machine on to 2008share Use Samba 3.6 to export the share as //linux/2008share Using a Windows 2012 machine browse to \\linux\2008share
because the directories will appear to be files to the Windows 2012 machine.
On the Debian box doing stat 2008share/dir says Device: 18h/24d Inode: 844424932383132 Links: 1
Using a Fedora 20 box with a 3.13.3-201.fc20.x86_64 kernel to do the same says: Device: 27h/39d Inode: 844424932383132 Links: 2
In https://bugzilla.kernel.org/show_bug.cgi?id=52791#c4 Jeff mentions that if there were demand a RHEL 6 customer could ask for a backport so it looks like the change is isolated enough to be put into stable...
https://bugzilla.samba.org/show_bug.cgi?id=9346 also talks about the issue.
-- Sitsofe | http://sucs.org/~sits/
| |