]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/locks.c
locks: make /proc/locks show IS_FILE_PVT locks as type "FLPVT"
authorJeff Layton <jlayton@redhat.com>
Mon, 3 Feb 2014 17:13:09 +0000 (12:13 -0500)
committerJeff Layton <jlayton@redhat.com>
Mon, 31 Mar 2014 12:24:42 +0000 (08:24 -0400)
commitc918d42a27a9be0d78be490997d16d79cd5b9193
tree67008d976453bfdd72280b0c5cddd3e07000cd4d
parent78ed8a13382b1354e95d0f2233577eba15cb8171
locks: make /proc/locks show IS_FILE_PVT locks as type "FLPVT"

In a later patch, we'll be adding a new type of lock that's owned by
the struct file instead of the files_struct. Those sorts of locks
will be flagged with a new FL_FILE_PVT flag.

Report these types of locks as "FLPVT" in /proc/locks to distinguish
them from "classic" POSIX locks.

Acked-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/locks.c
include/linux/fs.h