diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/fscache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/cifs/fscache.c b/fs/cifs/fscache.c index b3258f35e88a..8d4b7bc8ae91 100644 --- a/fs/cifs/fscache.c +++ b/fs/cifs/fscache.c | |||
@@ -27,7 +27,7 @@ void cifs_fscache_get_client_cookie(struct TCP_Server_Info *server) | |||
27 | { | 27 | { |
28 | server->fscache = | 28 | server->fscache = |
29 | fscache_acquire_cookie(cifs_fscache_netfs.primary_index, | 29 | fscache_acquire_cookie(cifs_fscache_netfs.primary_index, |
30 | &cifs_fscache_server_index_def, server); | 30 | &cifs_fscache_server_index_def, server, true); |
31 | cifs_dbg(FYI, "%s: (0x%p/0x%p)\n", | 31 | cifs_dbg(FYI, "%s: (0x%p/0x%p)\n", |
32 | __func__, server, server->fscache); | 32 | __func__, server, server->fscache); |
33 | } | 33 | } |
@@ -46,7 +46,7 @@ void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) | |||
46 | 46 | ||
47 | tcon->fscache = | 47 | tcon->fscache = |
48 | fscache_acquire_cookie(server->fscache, | 48 | fscache_acquire_cookie(server->fscache, |
49 | &cifs_fscache_super_index_def, tcon); | 49 | &cifs_fscache_super_index_def, tcon, true); |
50 | cifs_dbg(FYI, "%s: (0x%p/0x%p)\n", | 50 | cifs_dbg(FYI, "%s: (0x%p/0x%p)\n", |
51 | __func__, server->fscache, tcon->fscache); | 51 | __func__, server->fscache, tcon->fscache); |
52 | } | 52 | } |
@@ -69,7 +69,7 @@ static void cifs_fscache_enable_inode_cookie(struct inode *inode) | |||
69 | 69 | ||
70 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE) { | 70 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE) { |
71 | cifsi->fscache = fscache_acquire_cookie(tcon->fscache, | 71 | cifsi->fscache = fscache_acquire_cookie(tcon->fscache, |
72 | &cifs_fscache_inode_object_def, cifsi); | 72 | &cifs_fscache_inode_object_def, cifsi, true); |
73 | cifs_dbg(FYI, "%s: got FH cookie (0x%p/0x%p)\n", | 73 | cifs_dbg(FYI, "%s: got FH cookie (0x%p/0x%p)\n", |
74 | __func__, tcon->fscache, cifsi->fscache); | 74 | __func__, tcon->fscache, cifsi->fscache); |
75 | } | 75 | } |
@@ -119,7 +119,7 @@ void cifs_fscache_reset_inode_cookie(struct inode *inode) | |||
119 | cifsi->fscache = fscache_acquire_cookie( | 119 | cifsi->fscache = fscache_acquire_cookie( |
120 | cifs_sb_master_tcon(cifs_sb)->fscache, | 120 | cifs_sb_master_tcon(cifs_sb)->fscache, |
121 | &cifs_fscache_inode_object_def, | 121 | &cifs_fscache_inode_object_def, |
122 | cifsi); | 122 | cifsi, true); |
123 | cifs_dbg(FYI, "%s: new cookie 0x%p oldcookie 0x%p\n", | 123 | cifs_dbg(FYI, "%s: new cookie 0x%p oldcookie 0x%p\n", |
124 | __func__, cifsi->fscache, old); | 124 | __func__, cifsi->fscache, old); |
125 | } | 125 | } |