Brian Behlendorf 1e8db77102 Fix zil_commit() NULL dereference
Update the current code to ensure inodes are never dirtied if they are
part of a read-only file system or snapshot.  If they do somehow get
dirtied an attempt will make made to write them to disk.  In the case
of snapshots, which don't have a ZIL, this will result in a NULL
dereference in zil_commit().

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2405
2014-07-17 15:15:07 -07:00
..
2013-12-06 09:34:41 -08:00
2014-01-09 15:50:15 -08:00
2013-12-18 16:46:35 -08:00
2014-07-17 15:15:07 -07:00
2013-12-18 16:46:35 -08:00
2013-03-06 15:46:40 -08:00