cifs: don't allow cifs_iget to match inodes of the wrong type
authorJeff Layton <jlayton@redhat.com>
Mon, 19 Jul 2010 22:00:17 +0000 (18:00 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:39 +0000 (12:40 +0000)
commitf30b9c11847cb6bf1f7aa65b5c436800621a07dd
tree753905eaaa4999d7afc82f251f8db872753fbf1e
parent9f841593ff65d2f801c7f80c4ed0955d30103f50
cifs: don't allow cifs_iget to match inodes of the wrong type

If the type is different from what we think it should be, then don't
match the existing inode.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c