cifs: have cifsFileInfo hold an extra inode reference
authorJeff Layton <jlayton@redhat.com>
Sat, 12 Sep 2009 15:54:29 +0000 (11:54 -0400)
committerSteve French <sfrench@us.ibm.com>
Tue, 15 Sep 2009 19:45:25 +0000 (19:45 +0000)
commit48541bd3dd4739b4d574b44ea47660c88d833677
tree5ee6d16b924b8c171e66088c5bb3b1d1720cd29f
parent058daf4f6795fd23fcca41fe53151cdcbbd263ec
cifs: have cifsFileInfo hold an extra inode reference

It's possible that this struct will outlive the filp to which it is
attached. If it does and it needs to do some work on the inode, then
it'll need a reference.

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