locks: pass the cmd value to fcntl_getlk/getlk64
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:43 +0000 (08:24 -0400)
commitc1e62b8fc355e0c3706f1ae0dacb72d1c514dc80
tree67167d2ae9569d83d08edda65aa047faf21500e1
parent3fd80cddc6af5ba53244514a61450d4b30a9fb9d
locks: pass the cmd value to fcntl_getlk/getlk64

Once we introduce file private locks, we'll need to know what cmd value
was used, as that affects the ownership and whether a conflict would
arise.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/fcntl.c
fs/locks.c
include/linux/fs.h