• Mark Fasheh's avatar
    ocfs2: Fix flags in ocfs2_file_lock · e988cf1c
    Mark Fasheh authored
    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>
    e988cf1c
dlmglue.c 95.4 KB