Skip to content
Commit 8038462d authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Andrei Vagin
Browse files

locks: Add leases c/r for kernels v4.0 and older



Information about locks in /proc/<pid>/fdinfo is presented only since
kernel v4.1. This patch adds logic to *note_file_lock* to match leases
and OFDs.

Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
parent 90fc8622
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment