Skip to content
Commit e988cf1c authored by Mark Fasheh's avatar Mark Fasheh
Browse files

ocfs2: Fix flags in ocfs2_file_lock



The stack-glue merge changed the way we use flags in dlmglue in that we now
use the fs/dlm equivalents. Unfortunately, a merge error left the new flock
code only partially updated. This took a while to show up though, because
the lock level constants are actually identical between o2dlm and fs/dlm.
The *_CONVERT and *_NOQUEUE flags have different values though, which is
eventually causing a crash in flags_to_o2dlm().

Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
parent 6329d302
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment