mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
btrfs: Make btrfs_record_snapshot_destroy take btrfs_inode
Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4176bdbf2d
commit
436635571b
3 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue