Brian Behlendorf
5915791096
Move iput() after zfs_inode_update()
...
When replaying an unlink/remove operation via zfs_rmdir() the object
being removed will be instantiated by a call to zfs_dirent_lock().
This means that there is a single reference protecting the object.
Right before the call to zfs_inode_update() this reference is dropped
which may cause the object to be destroyed. This will result in a
NULL dereference as shown by the stack trace is issue #782 .
This likely isn't an issue during normal operation because there is
always an additional reference held on the object by the VFS.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #782
2012-09-12 14:22:52 -07:00
..
2012-09-04 08:41:12 -07:00
2012-08-27 12:01:37 -07:00
2012-07-31 09:25:30 -07:00
2012-08-27 12:01:37 -07:00
2012-07-03 15:14:34 -07:00
2012-08-27 12:01:37 -07:00
2010-08-26 14:24:34 -07:00
2010-08-31 13:41:58 -07:00
2012-08-27 12:01:37 -07:00
2012-08-25 12:28:29 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2010-08-31 08:38:45 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-07-31 09:25:30 -07:00
2012-08-27 12:01:37 -07:00
2012-07-31 09:25:30 -07:00
2012-08-27 12:01:37 -07:00
2012-09-02 10:15:49 -07:00
2010-08-31 13:41:58 -07:00
2012-09-02 10:15:49 -07:00
2010-08-31 08:38:46 -07:00
2012-08-27 12:01:37 -07:00
2012-07-26 13:45:09 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2010-12-07 16:05:25 -08:00
2012-08-27 12:01:37 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2012-08-27 12:01:37 -07:00
2010-08-31 13:41:58 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2010-05-28 13:45:14 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2010-05-28 13:45:14 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2010-08-27 15:28:32 -07:00
2012-08-27 12:01:37 -07:00
2012-09-05 08:44:58 -07:00
2012-09-05 08:44:58 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2010-08-31 13:41:58 -07:00
2012-07-20 12:20:57 -07:00
2012-02-09 16:37:48 -08:00
2012-08-26 13:55:45 -07:00
2012-08-27 12:01:37 -07:00
2011-03-02 11:44:34 -08:00
2012-09-10 10:25:08 -07: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-08-27 12:01:37 -07:00
2012-08-25 09:25:56 -07:00
2012-09-06 12:47:11 -07:00
2012-09-12 14:22:52 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2010-05-28 13:45:14 -07:00
2010-05-28 13:45:14 -07:00
2011-05-04 10:02:37 -07:00
2012-09-06 11:53:08 -07:00
2010-05-28 13:45:14 -07:00
2012-04-30 12:52:38 -07:00
2012-07-23 12:29:23 -07:00
2012-08-27 12:01:37 -07:00
2012-07-23 12:29:32 -07:00
2012-07-23 12:29:36 -07:00
2012-03-15 15:18:29 -07:00
2010-09-17 16:24:15 -07:00
2012-08-27 12:01:37 -07:00