diff options
author | Brian Behlendorf <[email protected]> | 2017-02-07 18:57:50 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-08 17:28:22 -0800 |
commit | ea7e86d8dbbfbaa96a3b018a80397cb24befcb72 (patch) | |
tree | a9edb551c5720add1f31540ab30cb81d543ec373 /TEST | |
parent | d834b9ce5ba6be96ce13c31351cf92c89f7762fe (diff) |
Fix iput() calls within a tx
As explicitly stated in section 2 of the 'Programming rules'
comments at the top of zfs_vnops.c.
If you must call iput() within a tx then use zfs_iput_async().
Move iput() calls after dmu_tx_commit() / dmu_tx_abort when
possible. When not possible convert the iput() calls to
zfs_iput_async().
Reviewed-by: Don Brady <[email protected]>
Reviewed-by: Chunwei Chen <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #5758
Diffstat (limited to 'TEST')
0 files changed, 0 insertions, 0 deletions