commit | f82b4b6780afabce9d9a91c84fae17ec3d63b9d7 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@primarydata.com> | Fri Aug 22 18:50:48 2014 -0400 |
committer | Jeff Layton <jlayton@primarydata.com> | Tue Oct 07 14:06:13 2014 -0400 |
tree | 525f28ccf756579147d7d498734a057b859e2215 | |
parent | 1c7dd2ff430fa14b45c9def54468e3a25ab8342b [diff] |
locks: move i_lock acquisition into generic_*_lease handlers Now that we have a saner internal API for managing leases, we no longer need to mandate that the inode->i_lock be held over most of the lease code. Push it down into generic_add_lease and generic_delete_lease. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de>