diff options
author | David Howells <dhowells@redhat.com> | 2020-03-20 09:32:50 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-05-31 15:19:52 +0100 |
commit | a310082f6d0afe28797e148726cd52118a8a4428 (patch) | |
tree | 18bd14d3ea9f95b9b513e477012bdd4458e3b8b4 /fs/afs/super.c | |
parent | 7126ead910aa9fcc9e16e9e7a8c9179658261f1d (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/super.c')
-rw-r--r-- | fs/afs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/super.c b/fs/afs/super.c index dda7a9a66848..9f412d7e7edf 100644 --- a/fs/afs/super.c +++ b/fs/afs/super.c @@ -715,7 +715,7 @@ static void afs_destroy_inode(struct inode *inode) static int afs_statfs(struct dentry *dentry, struct kstatfs *buf) { struct afs_super_info *as = AFS_FS_S(dentry->d_sb); - struct afs_fs_cursor fc; + struct afs_operation fc; struct afs_volume_status vs; struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); struct key *key; @@ -738,7 +738,7 @@ static int afs_statfs(struct dentry *dentry, struct kstatfs *buf) ret = -ERESTARTSYS; if (afs_begin_vnode_operation(&fc, vnode, key, true)) { - fc.flags |= AFS_FS_CURSOR_NO_VSLEEP; + fc.flags |= AFS_OPERATION_NO_VSLEEP; while (afs_select_fileserver(&fc)) { fc.cb_break = afs_calc_vnode_cb_break(vnode); afs_fs_get_volume_status(&fc, &vs); |