]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: print btrfs specific info for some fatal error cases
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Fri, 4 Jul 2014 09:59:06 +0000 (17:59 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:28 +0000 (13:37 -0700)
commit2f9aaf53de8278a562937957fe2a47ecd34fe4f3
treeea9dc4a4111011fed798364c3781851c939fc1af
parent698621f58ee0225b2b6c494234057ba62185fec4
Btrfs: print btrfs specific info for some fatal error cases

Marc argued that if there are several btrfs filesystems mounted,
while users even don't know which filesystem hit the corrupted
errors something like generation verification failure.

Since @extent_buffer structure has a member @fs_info, let's output
btrfs device info.

Reported-by: Marc MERLIN <marc@merlins.org>
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/disk-io.c