diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-07 15:57:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-07 15:57:46 -0500 |
commit | c224b76b560f3c65f0d10fbb59d3f00379eb0aaf (patch) | |
tree | 4af73496d5a8322edc1de196a9b904c8264761a1 /fs/cifs | |
parent | a1212d278c05ca0a38f5cbd7ae90ac2e367228a8 (diff) | |
parent | fab99ebe39fe7d11fbd9b5fb84f07432af9ba36f (diff) |
Merge tag 'nfs-for-3.13-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
Pull NFS client updates from Trond Myklebust:
"Highlights include:
- Changes to the RPC socket code to allow NFSv4 to turn off
timeout+retry:
* Detect TCP connection breakage through the "keepalive" mechanism
- Add client side support for NFSv4.x migration (Chuck Lever)
- Add support for multiple security flavour arguments to the "sec="
mount option (Dros Adamson)
- fs-cache bugfixes from David Howells:
* Fix an issue whereby caching can be enabled on a file that is
open for writing
- More NFSv4 open code stable bugfixes
- Various Labeled NFS (selinux) bugfixes, including one stable fix
- Fix buffer overflow checking in the RPCSEC_GSS upcall encoding"
* tag 'nfs-for-3.13-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: (68 commits)
NFSv4.2: Remove redundant checks in nfs_setsecurity+nfs4_label_init_security
NFSv4: Sanity check the server reply in _nfs4_server_capabilities
NFSv4.2: encode_readdir - only ask for labels when doing readdirplus
nfs: set security label when revalidating inode
NFSv4.2: Fix a mismatch between Linux labeled NFS and the NFSv4.2 spec
NFS: Fix a missing initialisation when reading the SELinux label
nfs: fix oops when trying to set SELinux label
nfs: fix inverted test for delegation in nfs4_reclaim_open_state
SUNRPC: Cleanup xs_destroy()
SUNRPC: close a rare race in xs_tcp_setup_socket.
SUNRPC: remove duplicated include from clnt.c
nfs: use IS_ROOT not DCACHE_DISCONNECTED
SUNRPC: Fix buffer overflow checking in gss_encode_v0_msg/gss_encode_v1_msg
SUNRPC: gss_alloc_msg - choose _either_ a v0 message or a v1 message
SUNRPC: remove an unnecessary if statement
nfs: Use PTR_ERR_OR_ZERO in 'nfs/nfs4super.c'
nfs: Use PTR_ERR_OR_ZERO in 'nfs41_callback_up' function
nfs: Remove useless 'error' assignment
sunrpc: comment typo fix
SUNRPC: Add correct rcu_dereference annotation in rpc_clnt_set_transport
...
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 | } |