diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2013-09-05 13:30:16 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-09-09 23:52:18 -0400 |
commit | 42873b0a282ac84a56e0e48c408beb62d0ad2917 (patch) | |
tree | 14891ca4e47ebfa0a3668b68772489e6bdd805d1 /fs/cifs/cifsfs.c | |
parent | f047390a097e907ccccf8aa894dec49890578a1a (diff) |
CIFS: Respect epoch value from create lease context v2
that force a client to purge cache pages when a server requests it.
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index ab88efe014a5..a16b4e58bcc6 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -255,6 +255,7 @@ cifs_alloc_inode(struct super_block *sb) | |||
255 | cifs_inode->server_eof = 0; | 255 | cifs_inode->server_eof = 0; |
256 | cifs_inode->uniqueid = 0; | 256 | cifs_inode->uniqueid = 0; |
257 | cifs_inode->createtime = 0; | 257 | cifs_inode->createtime = 0; |
258 | cifs_inode->epoch = 0; | ||
258 | #ifdef CONFIG_CIFS_SMB2 | 259 | #ifdef CONFIG_CIFS_SMB2 |
259 | get_random_bytes(cifs_inode->lease_key, SMB2_LEASE_KEY_SIZE); | 260 | get_random_bytes(cifs_inode->lease_key, SMB2_LEASE_KEY_SIZE); |
260 | #endif | 261 | #endif |