Files
mirror_zfs/module/zfs
Gunnar Beutner 1f0d8a566f Fixed a NULL pointer dereference bug in zfs_preumount
When zpl_fill_super -> zfs_domount fails (e.g. because the dataset
was destroyed before it could be successfully mounted) the subsequent
call to zpl_kill_sb -> zfs_preumount would derefence a NULL pointer.

This bug can be reproduced using this shell script:

 #!/bin/sh
 (
 while true; do
 	zfs create -o mountpoint=legacz tank/bar
 	zfs destroy tank/bar
 done
 ) &

 (
 while true; do
 	mount -t zfs tank/bar /mnt
 	umount /mnt
 done
 ) &

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #639
2012-04-05 11:29:42 -07:00
..
2010-08-31 08:38:35 -07:00
2010-08-26 14:24:34 -07:00
2011-05-31 12:17:27 -07:00
2011-05-31 12:17:27 -07:00
2010-08-26 14:24:34 -07:00
2010-08-31 13:41:58 -07:00
2012-03-22 13:03:47 -07:00
2011-05-04 10:02:37 -07:00
2012-02-27 08:59:10 -08:00
2010-08-31 08:38:45 -07:00
2011-11-03 10:19:21 -07:00
2012-03-22 13:03:47 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2012-02-27 08:59:10 -08:00
2011-02-23 12:52:51 -08:00
2011-05-04 10:02:37 -07:00
2010-08-31 13:41:58 -07:00
2011-05-04 10:02:37 -07:00
2010-08-31 08:38:46 -07:00
2010-08-31 08:38:49 -07:00
2012-03-22 13:03:47 -07:00
2010-12-07 16:05:25 -08:00
2012-03-07 16:28:00 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2012-02-02 11:24:30 -08:00
2012-01-17 08:54:00 -08:00
2012-02-27 08:59:10 -08:00
2010-08-27 15:34:02 -07:00
2010-08-27 15:28:32 -07:00
2011-05-04 10:02:37 -07:00
2010-08-31 08:38:44 -07:00
2010-08-27 15:28:32 -07:00
2012-01-17 13:49:07 -08:00
2010-08-31 08:38:46 -07:00
2011-07-01 13:36:39 -07:00
2010-08-31 13:41:58 -07:00
2012-03-22 15:43:55 -07:00
2012-02-09 16:37:48 -08:00
2012-03-22 13:03:47 -07:00
2010-10-12 14:55:02 -07:00
2011-03-02 11:44:34 -08:00
2011-03-02 11:44:34 -08:00
2010-08-31 13:41:50 -07:00
2011-03-03 11:29:15 -08:00
2012-03-02 13:20:48 -08:00
2012-03-22 13:03:47 -07:00
2012-03-22 13:03:47 -07:00
2011-05-04 10:02:37 -07:00
2012-03-21 14:51:44 -07:00
2012-03-22 13:03:47 -07:00
2012-03-22 13:03:47 -07:00
2012-03-22 13:03:47 -07:00
2012-03-22 13:03:47 -07:00
2010-09-17 16:24:15 -07:00
2012-02-09 16:19:38 -08:00