aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/afs/volume.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-03-20 09:32:50 +0000
committerDavid Howells <dhowells@redhat.com>2020-05-31 15:19:52 +0100
commita310082f6d0afe28797e148726cd52118a8a4428 (patch)
tree18bd14d3ea9f95b9b513e477012bdd4458e3b8b4 /fs/afs/volume.c
parentafs: Remove the error argument from afs_protocol_error() (diff)
downloadwireguard-linux-a310082f6d0afe28797e148726cd52118a8a4428.tar.xz
wireguard-linux-a310082f6d0afe28797e148726cd52118a8a4428.zip
afs: Rename struct afs_fs_cursor to afs_operation
As a prelude to implementing asynchronous fileserver operations in the afs filesystem, rename struct afs_fs_cursor to afs_operation. This struct is going to form the core of the operation management and is going to acquire more members in later. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/volume.c')
-rw-r--r--fs/afs/volume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/volume.c b/fs/afs/volume.c
index 249000195f8a..96351088a578 100644
--- a/fs/afs/volume.c
+++ b/fs/afs/volume.c
@@ -280,7 +280,7 @@ error:
/*
* Make sure the volume record is up to date.
*/
-int afs_check_volume_status(struct afs_volume *volume, struct afs_fs_cursor *fc)
+int afs_check_volume_status(struct afs_volume *volume, struct afs_operation *fc)
{
int ret, retries = 0;
@@ -315,7 +315,7 @@ wait:
}
ret = wait_on_bit(&volume->flags, AFS_VOLUME_WAIT,
- (fc->flags & AFS_FS_CURSOR_INTR) ?
+ (fc->flags & AFS_OPERATION_INTR) ?
TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);
if (ret == -ERESTARTSYS) {
_leave(" = %d", ret);