Re: [PATCH 1/2] locks: let the caller free file_lock on ->setleasefailure

From: Christoph Hellwig
Date: Sat Nov 06 2010 - 15:04:08 EST


> A minor oversight from f7347ce4ee7c65415f84be915c018473e7076f31,
> "fasync: re-organize fasync entry insertion to allow it under a
> spinlock": this cleanup-on-error was only needed to handle -ENOMEM. Now
> that we're preallocating it's unneeded.

Looks good to me, too.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/