~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to lib/locking/locking.h

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2013-03-03 12:33:47 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20130303123347-smfwei6dodkdth55
Tags: 2.02.98-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
 */
68
68
#define LCK_TYPE_MASK   0x00000007U
69
69
 
70
 
#define LCK_NULL        0x00000000U     /* LCK$_NLMODE */
71
 
#define LCK_READ        0x00000001U     /* LCK$_CRMODE */
 
70
#define LCK_NULL        0x00000000U     /* LCK$_NLMODE (Deactivate) */
 
71
#define LCK_READ        0x00000001U     /* LCK$_CRMODE (Activate) */
72
72
                                        /* LCK$_CWMODE */
73
73
#define LCK_PREAD       0x00000003U     /* LCK$_PRMODE */
74
 
#define LCK_WRITE       0x00000004U     /* LCK$_PWMODE */
75
 
#define LCK_EXCL        0x00000005U     /* LCK$_EXMODE */
76
 
#define LCK_UNLOCK      0x00000006U     /* This is ours */
 
74
#define LCK_WRITE       0x00000004U     /* LCK$_PWMODE (Suspend) */
 
75
#define LCK_EXCL        0x00000005U     /* LCK$_EXMODE (Exclusive) */
 
76
#define LCK_UNLOCK      0x00000006U     /* This is ours (Resume) */
77
77
 
78
78
/*
79
79
 * Lock flags - these numbers are the same as DLM