]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f21187482528170bceb44923b7a441ade6d8576
tree5ee6d16b924b8c171e66088c5bb3b1d1720cd29f
parent9edaef7d8e2842ccd753646da0fd41adf700eb62
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