diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-02-19 03:17:51 +0300 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-02-19 21:45:56 +0300 |
commit | c1223ca48baa867e9abc77fbb7f97500dc2a0cf8 (patch) | |
tree | da56a5a984ccae1556fba8932b270d0b88cfd920 /fs/orangefs/orangefs-cache.c | |
parent | 05a50a5be897004b6c1399645256bcf2e768b4ef (diff) | |
download | linux-c1223ca48baa867e9abc77fbb7f97500dc2a0cf8.tar.xz |
orangefs: get rid of op refcounts
not needed anymore
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-cache.c')
-rw-r--r-- | fs/orangefs/orangefs-cache.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/orangefs/orangefs-cache.c b/fs/orangefs/orangefs-cache.c index 817092a14429..900a2e38e11b 100644 --- a/fs/orangefs/orangefs-cache.c +++ b/fs/orangefs/orangefs-cache.c @@ -120,8 +120,6 @@ struct orangefs_kernel_op_s *op_alloc(__s32 type) spin_lock_init(&new_op->lock); init_completion(&new_op->waitq); - atomic_set(&new_op->ref_count, 1); - new_op->upcall.type = ORANGEFS_VFS_OP_INVALID; new_op->downcall.type = ORANGEFS_VFS_OP_INVALID; new_op->downcall.status = -1; @@ -149,7 +147,7 @@ struct orangefs_kernel_op_s *op_alloc(__s32 type) return new_op; } -void __op_release(struct orangefs_kernel_op_s *orangefs_op) +void op_release(struct orangefs_kernel_op_s *orangefs_op) { if (orangefs_op) { gossip_debug(GOSSIP_CACHE_DEBUG, |