mirror_zfs/module
Brian Behlendorf d958324f97 Fix zfs_putpage() lock inversion (again)
This is a follow up commit to 74328ee which correctly resolved a lock
inversion between zfs_putpage() and zfs_free_range().  Unfortunately,
in the process it accidentally introduced another inversion between
zfs_putpage() and zfs_read().  The page must be unlocked before taking
the range lock.  This patch corrects that issue.

In addition, because the locking rules here are subtle a block comment
has been added clearly explaining why the ordering here is critical.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Issue #2976
2015-01-08 16:09:41 -08:00
..
avl Explicitly include SPL compat headers 2014-11-19 12:30:39 -05:00
nvpair Explicitly include SPL compat headers 2014-11-19 12:30:39 -05:00
unicode Explicitly include SPL compat headers 2014-11-19 12:30:39 -05:00
zcommon Explicitly include SPL compat headers 2014-11-19 12:30:39 -05:00
zfs Fix zfs_putpage() lock inversion (again) 2015-01-08 16:09:41 -08:00
zpios Explicitly include SPL compat headers 2014-11-19 12:30:39 -05:00
.gitignore gitignore: anchor entries at their respective directory 2013-04-02 10:50:17 -07:00
Makefile.in Fix modules installation directory 2014-10-28 09:46:14 -07:00