aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r--fs/cifs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c
index 391816b461ca..b066e73c4153 100644
--- a/fs/cifs/dir.c
+++ b/fs/cifs/dir.c
@@ -162,7 +162,7 @@ cifs_new_fileinfo(struct inode *newinode, __u16 fileHandle,
162 mutex_init(&pCifsFile->lock_mutex); 162 mutex_init(&pCifsFile->lock_mutex);
163 INIT_LIST_HEAD(&pCifsFile->llist); 163 INIT_LIST_HEAD(&pCifsFile->llist);
164 atomic_set(&pCifsFile->count, 1); 164 atomic_set(&pCifsFile->count, 1);
165 slow_work_init(&pCifsFile->oplock_break, &cifs_oplock_break_ops); 165 INIT_WORK(&pCifsFile->oplock_break, cifs_oplock_break);
166 166
167 write_lock(&GlobalSMBSeslock); 167 write_lock(&GlobalSMBSeslock);
168 list_add(&pCifsFile->tlist, &cifs_sb->tcon->openFileList); 168 list_add(&pCifsFile->tlist, &cifs_sb->tcon->openFileList);