diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-12-17 13:29:07 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-12-17 13:29:07 -0500 |
commit | ec66ee3797e5848356cf593c6ec7aabf30a00cf1 (patch) | |
tree | 7ed5c84cc914644ffa1cd1b6a2b45db53fc224e8 /fs/nfsd/nfs4state.c | |
parent | 1205065764f2eda3216ebe213143f69891ee3460 (diff) | |
parent | b0c3844d8af6b9f3f18f31e1b0502fbefa2166be (diff) |
Merge commit 'v2.6.37-rc6' into for-2.6.38
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index afa7525a86be..4d542cfd6960 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -2266,7 +2266,7 @@ nfs4_file_downgrade(struct nfs4_file *fp, unsigned int share_access) | |||
2266 | * Spawn a thread to perform a recall on the delegation represented | 2266 | * Spawn a thread to perform a recall on the delegation represented |
2267 | * by the lease (file_lock) | 2267 | * by the lease (file_lock) |
2268 | * | 2268 | * |
2269 | * Called from break_lease() with lock_kernel() held. | 2269 | * Called from break_lease() with lock_flocks() held. |
2270 | * Note: we assume break_lease will only call this *once* for any given | 2270 | * Note: we assume break_lease will only call this *once* for any given |
2271 | * lease. | 2271 | * lease. |
2272 | */ | 2272 | */ |
@@ -2290,7 +2290,7 @@ void nfsd_break_deleg_cb(struct file_lock *fl) | |||
2290 | list_add_tail(&dp->dl_recall_lru, &del_recall_lru); | 2290 | list_add_tail(&dp->dl_recall_lru, &del_recall_lru); |
2291 | spin_unlock(&recall_lock); | 2291 | spin_unlock(&recall_lock); |
2292 | 2292 | ||
2293 | /* only place dl_time is set. protected by lock_kernel*/ | 2293 | /* only place dl_time is set. protected by lock_flocks*/ |
2294 | dp->dl_time = get_seconds(); | 2294 | dp->dl_time = get_seconds(); |
2295 | 2295 | ||
2296 | /* | 2296 | /* |
@@ -2307,7 +2307,7 @@ void nfsd_break_deleg_cb(struct file_lock *fl) | |||
2307 | /* | 2307 | /* |
2308 | * The file_lock is being reapd. | 2308 | * The file_lock is being reapd. |
2309 | * | 2309 | * |
2310 | * Called by locks_free_lock() with lock_kernel() held. | 2310 | * Called by locks_free_lock() with lock_flocks() held. |
2311 | */ | 2311 | */ |
2312 | static | 2312 | static |
2313 | void nfsd_release_deleg_cb(struct file_lock *fl) | 2313 | void nfsd_release_deleg_cb(struct file_lock *fl) |
@@ -2322,7 +2322,7 @@ void nfsd_release_deleg_cb(struct file_lock *fl) | |||
2322 | } | 2322 | } |
2323 | 2323 | ||
2324 | /* | 2324 | /* |
2325 | * Called from setlease() with lock_kernel() held | 2325 | * Called from setlease() with lock_flocks() held |
2326 | */ | 2326 | */ |
2327 | static | 2327 | static |
2328 | int nfsd_same_client_deleg_cb(struct file_lock *onlist, struct file_lock *try) | 2328 | int nfsd_same_client_deleg_cb(struct file_lock *onlist, struct file_lock *try) |