diff options
author | Alexander Aring <aahringo@redhat.com> | 2023-03-06 23:48:14 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-03-07 00:49:07 +0300 |
commit | 8c11ba64ce577a993701616e335319a0afbbd49a (patch) | |
tree | c5c9f015a3c4d79d9470752177871e92076ec80d /fs/dlm/debug_fs.c | |
parent | 9f48eead5ea4c55692dd5628699a0d5715416615 (diff) | |
download | linux-8c11ba64ce577a993701616e335319a0afbbd49a.tar.xz |
fs: dlm: store lkb distributed flags into own value
This patch stores lkb distributed flags value in an separate value
instead of sharing internal and distributed flags in lkb->lkb_flags value.
This has the advantage to not mask/write back flag values in
receive_flags() functionality. The dlm debug_fs does not provide the
distributed flags anymore, those can be added in future.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/debug_fs.c')
-rw-r--r-- | fs/dlm/debug_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index 8a0e1b1f74ad..65cfb58eaa6b 100644 --- a/fs/dlm/debug_fs.c +++ b/fs/dlm/debug_fs.c @@ -170,7 +170,7 @@ static void print_format2_lock(struct seq_file *s, struct dlm_lkb *lkb, u64 xid = 0; u64 us; - if (lkb->lkb_flags & DLM_IFL_USER) { + if (lkb->lkb_dflags & DLM_DFL_USER) { if (lkb->lkb_ua) xid = lkb->lkb_ua->xid; } @@ -230,7 +230,7 @@ static void print_format3_lock(struct seq_file *s, struct dlm_lkb *lkb, { u64 xid = 0; - if (lkb->lkb_flags & DLM_IFL_USER) { + if (lkb->lkb_dflags & DLM_DFL_USER) { if (lkb->lkb_ua) xid = lkb->lkb_ua->xid; } |