commit | f475ae957db66650db66916c62604ac27409d884 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Jun 29 16:38:32 2006 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jul 05 13:13:17 2006 -0400 |
tree | 3b9c40dd20f1b7f3fcc59035941c4a084ce71a19 | |
parent | 5e66dd6d66ffe758b39b6dcadf2330753ee1159b [diff] |
VFS: Allow caller to determine if BSD or posix locks were actually freed Change posix_lock_file_conf(), and flock_lock_file() so that if called with an F_UNLCK argument, and the FL_EXISTS flag they will indicate whether or not any locks were actually freed by returning 0 or -ENOENT. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>