]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/locks.c
locks: New ops in lock_manager_operations for get/put owner
authorKinglong Mee <kinglongmee@gmail.com>
Fri, 22 Aug 2014 14:18:43 +0000 (10:18 -0400)
committerJeff Layton <jlayton@primarydata.com>
Tue, 9 Sep 2014 20:01:09 +0000 (16:01 -0400)
commit5c97d7b1479982a48cf2129062b880c2555049ac
treea0e740e0e35d0ccda973e4c13b84a89605fef176
parent3fe0fff18fe87c6a2179837de68d1174903c6367
locks: New ops in lock_manager_operations for get/put owner

NFSD or other lockmanager may increase the owner's reference,
so adds two new options for copying and releasing owner.

v5: change order from 2/6 to 3/6
v4: rename lm_copy_owner/lm_release_owner to lm_get_owner/lm_put_owner

Reviewed-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
fs/locks.c
include/linux/fs.h