On July 11, 2015 7:23:38 AM EDT, Christoph Hellwig <h...@infradead.org> wrote: >On Sat, Jul 11, 2015 at 07:17:18AM -0400, Konrad Rzeszutek Wilk wrote: >> The 'locked' parameter can be used to tell the function to not take >the lock. >> >> But it would drop the lock in both cases. > >Konrad, > >no conditional locking please. Split the functionality up in multiple >functions if you may call with or without a lock held.
That would work nicely too. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/