diff options
Diffstat (limited to 'fs/btrfs/print-tree.c')
| -rw-r--r-- | fs/btrfs/print-tree.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c index fc821aa446f0..74e38da9bd39 100644 --- a/fs/btrfs/print-tree.c +++ b/fs/btrfs/print-tree.c @@ -190,7 +190,7 @@ static void print_uuid_item(const struct extent_buffer *l, unsigned long offset,  			    u32 item_size)  {  	if (!IS_ALIGNED(item_size, sizeof(u64))) { -		pr_warn("BTRFS: uuid item with illegal size %lu!\n", +		btrfs_warn(l->fs_info, "uuid item with illegal size %lu",  			(unsigned long)item_size);  		return;  	} @@ -223,7 +223,7 @@ static void print_eb_refs_lock(const struct extent_buffer *eb)  {  #ifdef CONFIG_BTRFS_DEBUG  	btrfs_info(eb->fs_info, "refs %u lock_owner %u current %u", -		   atomic_read(&eb->refs), eb->lock_owner, current->pid); +		   refcount_read(&eb->refs), eb->lock_owner, current->pid);  #endif  }  | 
