Re: [PATCH] sysfs: use a separate locking class for open filesdepending on mmap

From: Dave Jones
Date: Sat Nov 16 2013 - 22:21:46 EST


On Sun, Nov 17, 2013 at 11:17:36AM +0900, Tejun Heo wrote:


> + if (has_mmap)
> + mutex_init(&of->mutex);
> + else
> + mutex_init(&of->mutex);

ummm...

Dave
--
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/