diff options
author | David Howells <dhowells@redhat.com> | 2017-01-05 11:38:36 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-01-09 12:10:02 +0100 |
commit | 56ff9c837778ba2cf76f29c966856a9341e5939d (patch) | |
tree | 404b8b1ba4bf7f69a5d21a6bddafcd48d63b67ea /fs/afs/callback.c | |
parent | afs: Add some tracepoints (diff) | |
download | linux-56ff9c837778ba2cf76f29c966856a9341e5939d.tar.xz linux-56ff9c837778ba2cf76f29c966856a9341e5939d.zip |
afs: Kill afs_wait_mode
The afs_wait_mode struct isn't really necessary. Client calls only use one
of a choice of two (synchronous or the asynchronous) and incoming calls
don't use the wait at all. Replace with a boolean parameter.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/callback.c')
-rw-r--r-- | fs/afs/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/callback.c b/fs/afs/callback.c index 1e9d2f84e5b5..b29447e03ede 100644 --- a/fs/afs/callback.c +++ b/fs/afs/callback.c @@ -343,7 +343,7 @@ void afs_dispatch_give_up_callbacks(struct work_struct *work) * had callbacks entirely, and the server will call us later to break * them */ - afs_fs_give_up_callbacks(server, &afs_async_call); + afs_fs_give_up_callbacks(server, true); } /* |