diff options
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 4f85dfdf197d..8289e61937a2 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -387,7 +387,7 @@ struct cifsFileInfo { | |||
387 | /* BB add lock scope info here if needed */ ; | 387 | /* BB add lock scope info here if needed */ ; |
388 | /* lock scope id (0 if none) */ | 388 | /* lock scope id (0 if none) */ |
389 | struct file *pfile; /* needed for writepage */ | 389 | struct file *pfile; /* needed for writepage */ |
390 | struct inode *pInode; /* needed for oplock break */ | 390 | struct dentry *dentry; |
391 | struct vfsmount *mnt; | 391 | struct vfsmount *mnt; |
392 | struct tcon_link *tlink; | 392 | struct tcon_link *tlink; |
393 | struct mutex lock_mutex; | 393 | struct mutex lock_mutex; |
@@ -412,7 +412,7 @@ static inline void cifsFileInfo_put(struct cifsFileInfo *cifs_file) | |||
412 | { | 412 | { |
413 | if (atomic_dec_and_test(&cifs_file->count)) { | 413 | if (atomic_dec_and_test(&cifs_file->count)) { |
414 | cifs_put_tlink(cifs_file->tlink); | 414 | cifs_put_tlink(cifs_file->tlink); |
415 | iput(cifs_file->pInode); | 415 | dput(cifs_file->dentry); |
416 | kfree(cifs_file); | 416 | kfree(cifs_file); |
417 | } | 417 | } |
418 | } | 418 | } |