• Sachin Prabhu's avatar
    · ee860b6a
    Sachin Prabhu authored
    [PATCH] Skip check for mandatory locks when unlocking
    
    ocfs2_lock() will skip locks on file which has mode set to 02666. This
    is a problem in cases where the mode of the file is changed after a
    process has obtained a lock on the file.
    
    ocfs2_lock() should skip the check for mandatory locks when unlocking a
    file.
    Signed-off-by: default avatarSachin Prabhu <sprabhu@redhat.com>
    Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
    ee860b6a
locks.c 3.38 KB