summaryrefslogtreecommitdiff
path: root/fs/afs/flock.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/flock.c
parent7126ead910aa9fcc9e16e9e7a8c9179658261f1d (diff)
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/flock.c')
-rw-r--r--fs/afs/flock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/afs/flock.c b/fs/afs/flock.c
index 0f2a94ba73cb..682fe745f10e 100644
--- a/fs/afs/flock.c
+++ b/fs/afs/flock.c
@@ -179,7 +179,7 @@ static int afs_set_lock(struct afs_vnode *vnode, struct key *key,
afs_lock_type_t type)
{
struct afs_status_cb *scb;
- struct afs_fs_cursor fc;
+ struct afs_operation fc;
int ret;
_enter("%s{%llx:%llu.%u},%x,%u",
@@ -216,7 +216,7 @@ static int afs_set_lock(struct afs_vnode *vnode, struct key *key,
static int afs_extend_lock(struct afs_vnode *vnode, struct key *key)
{
struct afs_status_cb *scb;
- struct afs_fs_cursor fc;
+ struct afs_operation fc;
int ret;
_enter("%s{%llx:%llu.%u},%x",
@@ -253,7 +253,7 @@ static int afs_extend_lock(struct afs_vnode *vnode, struct key *key)
static int afs_release_lock(struct afs_vnode *vnode, struct key *key)
{
struct afs_status_cb *scb;
- struct afs_fs_cursor fc;
+ struct afs_operation fc;
int ret;
_enter("%s{%llx:%llu.%u},%x",