aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode_item.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
-rw-r--r--fs/xfs/xfs_inode_item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c
index 9369010f3f16..36aa1fcb90a5 100644
--- a/fs/xfs/xfs_inode_item.c
+++ b/fs/xfs/xfs_inode_item.c
@@ -608,7 +608,7 @@ xfs_inode_item_trylock(
608 if (iip->ili_pushbuf_flag == 0) { 608 if (iip->ili_pushbuf_flag == 0) {
609 iip->ili_pushbuf_flag = 1; 609 iip->ili_pushbuf_flag = 1;
610#ifdef DEBUG 610#ifdef DEBUG
611 iip->ili_push_owner = get_thread_id(); 611 iip->ili_push_owner = current_pid();
612#endif 612#endif
613 /* 613 /*
614 * Inode is left locked in shared mode. 614 * Inode is left locked in shared mode.
@@ -787,7 +787,7 @@ xfs_inode_item_pushbuf(
787 * trying to duplicate our effort. 787 * trying to duplicate our effort.
788 */ 788 */
789 ASSERT(iip->ili_pushbuf_flag != 0); 789 ASSERT(iip->ili_pushbuf_flag != 0);
790 ASSERT(iip->ili_push_owner == get_thread_id()); 790 ASSERT(iip->ili_push_owner == current_pid());
791 791
792 /* 792 /*
793 * If flushlock isn't locked anymore, chances are that the 793 * If flushlock isn't locked anymore, chances are that the