| Date | Thu, 4 Sep 2014 10:48:53 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH v2 08/17] locks: plumb a "priv" pointer into the setlease routines |
| |
On Thu, Sep 04, 2014 at 08:38:34AM -0400, Jeff Layton wrote: > In later patches, we're going to add a new lock_manager_operation to > finish setting up the lease while still holding the i_lock. To do > this, we'll need to pass a little bit of info in the fcntl setlease > case (primarily an fasync structure). Plumb the extra pointer into > there in advance of that. > > We declare this pointer as a void ** to make it clear that this is > private info, and that the caller isn't required to set this unless > the lm_setup specifically requires it.
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
|