|
@@ -5794,11 +5794,11 @@ record:
|
|
|
* parent root and tree of tree roots trees, etc) are done.
|
|
|
*/
|
|
|
void btrfs_record_snapshot_destroy(struct btrfs_trans_handle *trans,
|
|
|
- struct inode *dir)
|
|
|
+ struct btrfs_inode *dir)
|
|
|
{
|
|
|
- mutex_lock(&BTRFS_I(dir)->log_mutex);
|
|
|
- BTRFS_I(dir)->last_unlink_trans = trans->transid;
|
|
|
- mutex_unlock(&BTRFS_I(dir)->log_mutex);
|
|
|
+ mutex_lock(&dir->log_mutex);
|
|
|
+ dir->last_unlink_trans = trans->transid;
|
|
|
+ mutex_unlock(&dir->log_mutex);
|
|
|
}
|
|
|
|
|
|
/*
|