diff options
author | Pavan Vilas Sondur <pavan@gluster.com> | 2009-12-03 14:51:11 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-03 12:45:14 -0800 |
commit | 26257254fb42c132ff2e0565655fdc382184d8af (patch) | |
tree | 0eff913f81c9596624f4d656dbd20fdcd95fef13 /xlators/features/locks/src/common.h | |
parent | 120b446967ef33701a31d0da23324177922a3d73 (diff) |
features/locks: Release all locks of an fd when a client disconnects.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 336 (Use lock owner field from fuse in locks)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=336
Diffstat (limited to 'xlators/features/locks/src/common.h')
-rw-r--r-- | xlators/features/locks/src/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/locks/src/common.h b/xlators/features/locks/src/common.h index 0d847f77029..32c27c7d198 100644 --- a/xlators/features/locks/src/common.h +++ b/xlators/features/locks/src/common.h @@ -21,7 +21,8 @@ #define __COMMON_H__ posix_lock_t * -new_posix_lock (struct flock *flock, transport_t *transport, pid_t client_pid, uint64_t owner); +new_posix_lock (struct flock *flock, transport_t *transport, pid_t client_pid, + uint64_t owner, fd_t *fd); pl_inode_t * pl_inode_get (xlator_t *this, inode_t *inode); |