summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-07-09 07:46:39 +0200
committerSteve French <sfrench@us.ibm.com>2009-07-10 01:06:00 +0200
commitaeaaf253c4dee7ff9af2f3f0595f3bb66964e944 (patch)
treefb575868801fbc8d4da02717c1ef851c9be86785 /fs/cifs/cifsglob.h
parentcifs: convert cifs_get_inode_info and non-posix readdir to use cifs_iget (diff)
downloadlinux-aeaaf253c4dee7ff9af2f3f0595f3bb66964e944.tar.xz
linux-aeaaf253c4dee7ff9af2f3f0595f3bb66964e944.zip
cifs: remove cifsInodeInfo->inUse counter
cifs: remove cifsInodeInfo->inUse counter It was purported to be a refcounter of some sort, but was never used that way. It never served any purpose that wasn't served equally well by the I_NEW flag. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> 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 8bcf5a4bcded..63f6cdfa5638 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -364,7 +364,6 @@ struct cifsInodeInfo {
struct list_head openFileList;
int write_behind_rc;
__u32 cifsAttrs; /* e.g. DOS archive bit, sparse, compressed, system */
- atomic_t inUse; /* num concurrent users (local openers cifs) of file*/
unsigned long time; /* jiffies of last update/check of inode */
bool clientCanCacheRead:1; /* read oplock */
bool clientCanCacheAll:1; /* read and writebehind oplock */