commit | 3d8e560de4a076b302cb0cc17e998aaace2b176a | [log] [tgz] |
---|---|---|
author | Jeff Layton <jeff.layton@primarydata.com> | Fri Jan 16 15:05:58 2015 -0500 |
committer | Jeff Layton <jeff.layton@primarydata.com> | Fri Jan 16 16:08:50 2015 -0500 |
tree | d63c4b03e7e1c5e937b49385d7f630b7921f1119 | |
parent | 9bd0f45b7037fcfa8b575c7e27d0431d6e6dc3bb [diff] |
locks: consolidate NULL i_flctx checks in locks_remove_file We have each of the locks_remove_* variants doing this individually. Have the caller do it instead, and have locks_remove_flock and locks_remove_lease just assume that it's a valid pointer. Signed-off-by: Jeff Layton <jlayton@primarydata.com>