[linux-cifs-client] [PATCH] [CIFS] Prevent OOPs when mounting with
remote prefixpath
Igor Mammedov
niallain at gmail.com
Tue Feb 3 10:22:30 GMT 2009
Managed to single out the part of DFS root support from a big patch
with a little modification.
It will report error and fail to mount if perfixpath is on remote server.
As well it will not scare people off with a error
'kernel BUG at fs/cifs/cifs_dfs_ref.c:274!'.
---------
Fixes OOPs with message 'kernel BUG at fs/cifs/cifs_dfs_ref.c:274!'.
Check if prefixpath in accessible while we are still in cifs_mount
and fail with reporting a error if we can't access prefixpath
(i.e. if prefixpath is located on another server)
Best regards,
-------------------------
Igor Mammedov,
niallain "at" gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001--CIFS-Prevent-OOPs-when-mounting-with-remote-prefix.patch
Type: text/x-patch
Size: 3558 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20090203/a9e13156/0001--CIFS-Prevent-OOPs-when-mounting-with-remote-prefix.bin
More information about the linux-cifs-client
mailing list