diff options
author | 2023-03-06 15:48:14 -0500 | |
---|---|---|
committer | 2023-03-06 15:49:07 -0600 | |
commit | 8c11ba64ce577a993701616e335319a0afbbd49a (patch) | |
tree | c5c9f015a3c4d79d9470752177871e92076ec80d /fs/dlm/rcom.c | |
parent | fs: dlm: remove DLM_IFL_LOCAL_MS flag (diff) | |
download | linux-8c11ba64ce577a993701616e335319a0afbbd49a.tar.gz linux-8c11ba64ce577a993701616e335319a0afbbd49a.tar.bz2 linux-8c11ba64ce577a993701616e335319a0afbbd49a.zip |
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/rcom.c')
-rw-r--r-- | fs/dlm/rcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/rcom.c b/fs/dlm/rcom.c index b76d52e2f6bd..005ee85218c5 100644 --- a/fs/dlm/rcom.c +++ b/fs/dlm/rcom.c @@ -415,7 +415,7 @@ static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, rl->rl_ownpid = cpu_to_le32(lkb->lkb_ownpid); rl->rl_lkid = cpu_to_le32(lkb->lkb_id); rl->rl_exflags = cpu_to_le32(lkb->lkb_exflags); - rl->rl_flags = cpu_to_le32(lkb->lkb_flags); + rl->rl_flags = cpu_to_le32(lkb->lkb_dflags); rl->rl_lvbseq = cpu_to_le32(lkb->lkb_lvbseq); rl->rl_rqmode = lkb->lkb_rqmode; rl->rl_grmode = lkb->lkb_grmode; |