]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f1df6f10feef87fd28efe04d48e440aae2ad24b
tree753905eaaa4999d7afc82f251f8db872753fbf1e
parent3ad50e06d24cd0d4d9d28746d13ef78bb4a2d36b
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