aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-10-15 15:34:01 -0400
committerSteve French <sfrench@us.ibm.com>2010-10-17 21:07:20 -0400
commit2e396b83f6087b78dac5a18d6d0cf9f8426a00b3 (patch)
tree890c0af098920fe79e85f475a25fcc2f0d8c00bc /fs/cifs/cifsglob.h
parent7da4b49a0ec481239d9cd51f7053aa8e4e191fa7 (diff)
cifs: eliminate pfile pointer from cifsFileInfo
All the remaining users of cifsFileInfo->pfile just use it to get at the f_flags/f_mode. Now that we store that separately in the cifsFileInfo, there's no need to consult the pfile at all from a cifsFileInfo pointer. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de> Acked-by: Dave Kleikamp <shaggy@linux.vnet.ibm.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, 0 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index b746dec88396..9f99afab9a04 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -388,7 +388,6 @@ struct cifsFileInfo {
388 __u16 netfid; /* file id from remote */ 388 __u16 netfid; /* file id from remote */
389 /* BB add lock scope info here if needed */ ; 389 /* BB add lock scope info here if needed */ ;
390 /* lock scope id (0 if none) */ 390 /* lock scope id (0 if none) */
391 struct file *pfile; /* needed for writepage */
392 struct dentry *dentry; 391 struct dentry *dentry;
393 unsigned int f_flags; 392 unsigned int f_flags;
394 struct tcon_link *tlink; 393 struct tcon_link *tlink;