From c8f39bea04c6021243d1ab2bcea450a0f067aabc Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Thu, 15 Oct 2009 19:36:47 +0000 Subject: locks: keep ref on the inode while locks are held keeping refs on the inode while there are held locks prevents the inode from getting pruned away Signed-off-by: Anand V. Avati BUG: 112 (parallel deletion of files mounted by different clients on the same back-end hangs and/or does not completely delete) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=112 --- xlators/features/locks/src/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/features/locks/src/common.h') diff --git a/xlators/features/locks/src/common.h b/xlators/features/locks/src/common.h index 06f104f52..78de8432f 100644 --- a/xlators/features/locks/src/common.h +++ b/xlators/features/locks/src/common.h @@ -49,4 +49,6 @@ void __delete_lock (pl_inode_t *, posix_lock_t *); void __destroy_lock (posix_lock_t *); +void pl_update_refkeeper (xlator_t *this, inode_t *inode); + #endif /* __COMMON_H__ */ -- cgit