summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-07-09 05:46:39 (GMT)
committerSteve French <sfrench@us.ibm.com>2009-07-09 23:06:00 (GMT)
commitaeaaf253c4dee7ff9af2f3f0595f3bb66964e944 (patch)
treefb575868801fbc8d4da02717c1ef851c9be86785 /fs/cifs/cifsfs.c
parent0b8f18e358384a52c1ed7fa7129c08e7eaf86bb6 (diff)
downloadlinux-aeaaf253c4dee7ff9af2f3f0595f3bb66964e944.tar.xz
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/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 9f669f9..44f3050 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -308,7 +308,6 @@ cifs_alloc_inode(struct super_block *sb)
if (!cifs_inode)
return NULL;
cifs_inode->cifsAttrs = 0x20; /* default */
- atomic_set(&cifs_inode->inUse, 0);
cifs_inode->time = 0;
cifs_inode->write_behind_rc = 0;
/* Until the file is open and we have gotten oplock