Skip to content
Commit 3d8e560d authored by Jeff Layton's avatar Jeff Layton
Browse files

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: default avatarJeff Layton <jlayton@primarydata.com>
parent 9bd0f45b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment