Skip to content

Commit

Permalink
Merge tag 'dlm-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git…
Browse files Browse the repository at this point in the history
…/teigland/linux-dlm

Pull dlm fix from David Teigland:
 "This includes a single commit fixing a missing endian conversion"

* tag 'dlm-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
  dlm: fix missing endian conversion of rcom_status flags
  • Loading branch information
torvalds committed Oct 18, 2014
2 parents ef161ea + c07127b commit e83e432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/dlm/rcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ static void receive_rcom_status(struct dlm_ls *ls, struct dlm_rcom *rc_in)

rs = (struct rcom_status *)rc_in->rc_buf;

if (!(rs->rs_flags & DLM_RSF_NEED_SLOTS)) {
if (!(le32_to_cpu(rs->rs_flags) & DLM_RSF_NEED_SLOTS)) {
status = dlm_recover_status(ls);
goto do_create;
}
Expand Down

0 comments on commit e83e432

Please sign in to comment.