transaction.c (6fc4e3548598d10a5e947797a09cbc1b257a22ab) | transaction.c (e209db7ace281ca347b1ac699bf1fb222eac03fe) |
---|---|
1/* 2 * Copyright (C) 2007 Oracle. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public 6 * License v2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 1223 unchanged lines hidden (view full) --- 1232 /* 1233 * We've got freeze protection passed with the transaction. 1234 * Tell lockdep about it. 1235 */ 1236 rwsem_acquire_read( 1237 &ac->root->fs_info->sb->s_writers.lock_map[SB_FREEZE_FS-1], 1238 0, 1, _THIS_IP_); 1239 | 1/* 2 * Copyright (C) 2007 Oracle. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public 6 * License v2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 1223 unchanged lines hidden (view full) --- 1232 /* 1233 * We've got freeze protection passed with the transaction. 1234 * Tell lockdep about it. 1235 */ 1236 rwsem_acquire_read( 1237 &ac->root->fs_info->sb->s_writers.lock_map[SB_FREEZE_FS-1], 1238 0, 1, _THIS_IP_); 1239 |
1240 current->journal_info = ac->newtrans; 1241 |
|
1240 btrfs_commit_transaction(ac->newtrans, ac->root); 1241 kfree(ac); 1242} 1243 1244int btrfs_commit_transaction_async(struct btrfs_trans_handle *trans, 1245 struct btrfs_root *root, 1246 int wait_for_unblock) 1247{ --- 412 unchanged lines hidden --- | 1242 btrfs_commit_transaction(ac->newtrans, ac->root); 1243 kfree(ac); 1244} 1245 1246int btrfs_commit_transaction_async(struct btrfs_trans_handle *trans, 1247 struct btrfs_root *root, 1248 int wait_for_unblock) 1249{ --- 412 unchanged lines hidden --- |