Re: [PATCH driver-core-linus] sysfs: bail early from sysfs_bin_mmap() to avoid spurious lockdep warning

2013-12-04 Thread Tejun Heo
On Wed, Dec 04, 2013 at 09:06:39AM -0500, Tejun Heo wrote: > 027a485d12e0 ("sysfs: use a separate locking class for open files > depending on mmap") assigned different lockdep key to > sysfs_open_file->mutex depending on whether the file implements mmap > or not in an attempt to avoid spurious lock

[PATCH driver-core-linus] sysfs: bail early from sysfs_bin_mmap() to avoid spurious lockdep warning

2013-12-04 Thread Tejun Heo
027a485d12e0 ("sysfs: use a separate locking class for open files depending on mmap") assigned different lockdep key to sysfs_open_file->mutex depending on whether the file implements mmap or not in an attempt to avoid spurious lockdep warning caused by merging of regular and bin file paths. While