]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CIFS] Prevent OOPs when mounting with remote prefixpath.
authorIgor Mammedov <niallain@gmail.com>
Tue, 10 Feb 2009 11:10:26 +0000 (14:10 +0300)
committerSteve French <sfrench@us.ibm.com>
Sat, 21 Feb 2009 03:36:21 +0000 (03:36 +0000)
commite4cce94c9c8797b08faf6a79396df4d175e377fa
tree6eb306603652bf08ca10fef4f899332f30d71e09
parente1f81c8a417be466e85a38b61679aa6860ec7331
[CIFS] Prevent OOPs when mounting with remote prefixpath.

Fixes OOPs with message 'kernel BUG at fs/cifs/cifs_dfs_ref.c:274!'.
Checks if the prefixpath in an accesible while we are still in cifs_mount
and fails with reporting a error if we can't access the prefixpath

Should fix Samba bugs 6086 and 5861 and kernel bug 12192

Signed-off-by: Igor Mammedov <niallain@gmail.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/inode.c