diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-18 16:20:27 -0700 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 21:46:27 -0500 |
commit | 253641388a49259f6bfefecfb14fa057ca58dc21 (patch) | |
tree | e38c2f0561e5fd547a1c5d0633c4b65dc6f371a0 /fs/cifs/file.c | |
parent | b7546bc54c4acf1a79c83030fa0591cd24875125 (diff) | |
download | linux-253641388a49259f6bfefecfb14fa057ca58dc21.tar.gz linux-253641388a49259f6bfefecfb14fa057ca58dc21.tar.bz2 linux-253641388a49259f6bfefecfb14fa057ca58dc21.zip |
CIFS: Move create code use ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 14938ee4f6e4..dbca2b293e55 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -312,13 +312,13 @@ void cifsFileInfo_put(struct cifsFileInfo *cifs_file) if (list_empty(&cifsi->openFileList)) { cFYI(1, "closing last open instance for inode %p", cifs_file->dentry->d_inode); - - /* in strict cache mode we need invalidate mapping on the last - close because it may cause a error when we open this file - again and get at least level II oplock */ + /* + * In strict cache mode we need invalidate mapping on the last + * close because it may cause a error when we open this file + * again and get at least level II oplock. + */ if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) CIFS_I(inode)->invalid_mapping = true; - cifs_set_oplock_level(cifsi, 0); } spin_unlock(&cifs_file_list_lock); |