[Intel-gfx] [PATCH driver-core-linus] kernfs: add back missing error check in kernfs_fop_mmap()

2014-04-20 Thread Tejun Heo
While updating how mmap enabled kernfs files are handled by lockdep, 9b2db6e18945 ("sysfs: bail early from kernfs_file_mmap() to avoid spurious lockdep warning") inadvertently dropped error return check from kernfs_file_mmap(). The intention was just dropping "if (ops->mmap)" check as the control

Re: [Intel-gfx] [PATCH driver-core-linus] kernfs: add back missing error check in kernfs_fop_mmap()

2014-04-20 Thread Tobias Powalowski
Am 20.04.2014 14:29, schrieb Tejun Heo: > While updating how mmap enabled kernfs files are handled by lockdep, > 9b2db6e18945 ("sysfs: bail early from kernfs_file_mmap() to avoid > spurious lockdep warning") inadvertently dropped error return check > from kernfs_file_mmap(). The intention was just