aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-09-20 19:01:30 -0400
committerSteve French <sfrench@us.ibm.com>2010-09-29 15:04:31 -0400
commit5fe97cfddc426f3145e8673b68faab7e54462173 (patch)
tree8ef6646ef8237c2757ecb8333a09899c946e4b86 /fs/cifs/cifsglob.h
parent736a33205969c16f81d747db14ff4c0f133609a6 (diff)
cifs: add tcon field to cifsFileInfo struct
Eventually, we'll have more than one tcon per superblock. At that point, we'll need to know which one is associated with a particular fid. For now, this is just set from the cifs_sb->tcon pointer, but eventually the caller of cifs_new_fileinfo will pass a tcon pointer in. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 6ef0efaf68d4..6f3968a5fea4 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -351,6 +351,7 @@ struct cifsFileInfo {
351 struct file *pfile; /* needed for writepage */ 351 struct file *pfile; /* needed for writepage */
352 struct inode *pInode; /* needed for oplock break */ 352 struct inode *pInode; /* needed for oplock break */
353 struct vfsmount *mnt; 353 struct vfsmount *mnt;
354 struct cifsTconInfo *tcon;
354 struct mutex lock_mutex; 355 struct mutex lock_mutex;
355 struct list_head llist; /* list of byte range locks we have. */ 356 struct list_head llist; /* list of byte range locks we have. */
356 bool closePend:1; /* file is marked to close */ 357 bool closePend:1; /* file is marked to close */