Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38773
b: refs/heads/master
c: de9b75d
h: refs/heads/master
i:
  38771: 52fe1fc
v: v3
  • Loading branch information
David Teigland authored and Steven Whitehouse committed Jul 31, 2006
1 parent 4da9877 commit 8996c3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 420b9e5e45d33355471c8d2d593bb0e5d6c77421
refs/heads/master: de9b75d31e81e87685d8cc70052a003c654f1e8e
2 changes: 2 additions & 0 deletions trunk/fs/gfs2/locking/dlm/plock.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ int gdlm_plock(lm_lockspace_t *lockspace, struct lm_lockname *name,
op->info.number = name->ln_number;
op->info.start = fl->fl_start;
op->info.end = fl->fl_end;
op->info.owner = (__u64)(long) fl->fl_owner;

send_op(op);
wait_event(recv_wq, (op->done != 0));
Expand Down Expand Up @@ -122,6 +123,7 @@ int gdlm_punlock(lm_lockspace_t *lockspace, struct lm_lockname *name,
op->info.number = name->ln_number;
op->info.start = fl->fl_start;
op->info.end = fl->fl_end;
op->info.owner = (__u64)(long) fl->fl_owner;

send_op(op);
wait_event(recv_wq, (op->done != 0));
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/linux/lock_dlm_plock.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define GDLM_PLOCK_MISC_NAME "lock_dlm_plock"

#define GDLM_PLOCK_VERSION_MAJOR 1
#define GDLM_PLOCK_VERSION_MINOR 0
#define GDLM_PLOCK_VERSION_MINOR 1
#define GDLM_PLOCK_VERSION_PATCH 0

enum {
Expand All @@ -34,6 +34,7 @@ struct gdlm_plock_info {
__u64 number;
__u64 start;
__u64 end;
__u64 owner;
};

#endif
Expand Down

0 comments on commit 8996c3c

Please sign in to comment.