commit | 2dfb928f7e5977a3faac943c134bbda5ae492629 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@primarydata.com> | Mon Aug 11 18:14:12 2014 -0400 |
committer | Jeff Layton <jlayton@primarydata.com> | Thu Aug 14 10:07:47 2014 -0400 |
tree | e67a1dbe831cdad50617474427bdb3d8424ab966 | |
parent | ed9814d85810c27670987b40c77e8a07105838fe [diff] |
locks: move locks_free_lock calls in do_fcntl_add_lease outside spinlock There's no need to call locks_free_lock here while still holding the i_lock. Defer that until the lock has been dropped. Acked-by: J. Bruce Fields <bfields@fieldses.org> Signed-off-by: Jeff Layton <jlayton@primarydata.com>