kernel_optimize_test/fs/btrfs
Gu JinXiang 859a58a207 btrfs: Use bd_dev to generate index when dev_state_hashtable add items.
Fix missing change from commit f8f84b2dfd
("btrfs: index check-integrity state hash by a dev_t").

Function btrfsic_dev_state_hashtable_lookup uses dev_t to generate hashval
when look in up a btrfsic_dev_state in hash table. So when we add a
btrfsic_dev_state into the hash table, it should also use dev_t.

Reproducer of this bug:
Use MOUNT_OPTIONS="-o check_int" when running xfstest, device can not be
mounted successfully. So xfstest can not run.

Signed-off-by: Gu JinXiang <gujx@cn.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2017-10-30 12:28:01 +01:00
..
tests btrfs: tests: Fix a memory leak in error handling path in 'run_test()' 2017-10-30 12:27:56 +01:00
acl.c
async-thread.c Btrfs: fix confusing worker helper info in stacktrace 2017-10-30 12:27:57 +01:00
async-thread.h
backref.c btrfs: remove delayed_ref_node from ref_head 2017-10-30 12:28:00 +01:00
backref.h
btrfs_inode.h
check-integrity.c btrfs: Use bd_dev to generate index when dev_state_hashtable add items. 2017-10-30 12:28:01 +01:00
check-integrity.h
compression.c btrfs: use BLK_STS defines where needed 2017-10-30 12:28:01 +01:00
compression.h
ctree.c btrfs: pass root to various extent ref mod functions 2017-10-30 12:28:00 +01:00
ctree.h Btrfs: add a extent ref verify tool 2017-10-30 12:28:00 +01:00
dedupe.h
delayed-inode.c
delayed-inode.h
delayed-ref.c btrfs: remove type argument from comp_tree_refs 2017-10-30 12:28:00 +01:00
delayed-ref.h btrfs: remove delayed_ref_node from ref_head 2017-10-30 12:28:00 +01:00
dev-replace.c Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-09-14 18:54:01 -07:00
dev-replace.h
dir-item.c
disk-io.c btrfs: remove delayed_ref_node from ref_head 2017-10-30 12:28:00 +01:00
disk-io.h
export.c
export.h
extent_io.c btrfs: get rid of sector_t and use u64 offset in submit_extent_page 2017-10-30 12:28:00 +01:00
extent_io.h Btrfs: remove bio_flags which indicates a meta block of log-tree 2017-10-30 12:27:56 +01:00
extent_map.c
extent_map.h
extent-tree.c btrfs: add assertions for releasing trans handle reservations 2017-10-30 12:28:01 +01:00
file-item.c
file.c btrfs: cleanup extent locking sequence 2017-10-30 12:28:01 +01:00
free-space-cache.c
free-space-cache.h
free-space-tree.c btrfs: Clean up unused variables in free-space-tree.c 2017-10-30 12:27:59 +01:00
free-space-tree.h
hash.c
hash.h
inode-item.c
inode-map.c
inode-map.h
inode.c btrfs: use BLK_STS defines where needed 2017-10-30 12:28:01 +01:00
ioctl.c btrfs: pass root to various extent ref mod functions 2017-10-30 12:28:00 +01:00
Kconfig Btrfs: add a extent ref verify tool 2017-10-30 12:28:00 +01:00
locking.c
locking.h
lzo.c
Makefile Btrfs: add a extent ref verify tool 2017-10-30 12:28:00 +01:00
math.h
ordered-data.c
ordered-data.h
orphan.c
print-tree.c
print-tree.h
props.c
props.h
qgroup.c btrfs: Report error on removing qgroup if del_qgroup_item fails 2017-09-26 14:54:01 +02:00
qgroup.h
raid56.c Btrfs: fix memory leak in raid56 2017-10-30 12:27:57 +01:00
raid56.h
rcu-string.h
reada.c
ref-verify.c Btrfs: add a extent ref verify tool 2017-10-30 12:28:00 +01:00
ref-verify.h Btrfs: add a extent ref verify tool 2017-10-30 12:28:00 +01:00
relocation.c btrfs: pass root to various extent ref mod functions 2017-10-30 12:28:00 +01:00
root-tree.c btrfs: Clean up dead code in root-tree 2017-10-30 12:27:56 +01:00
scrub.c btrfs: scrub: get rid of sector_t 2017-10-30 12:28:00 +01:00
send.c btrfs: fix send ioctl on 32bit with 64bit kernel 2017-10-30 12:27:59 +01:00
send.h btrfs: fix send ioctl on 32bit with 64bit kernel 2017-10-30 12:27:59 +01:00
struct-funcs.c
super.c btrfs: add ref-verify mount option 2017-10-30 12:28:00 +01:00
sysfs.c btrfs: prefix sysfs attribute struct names 2017-10-30 12:27:58 +01:00
sysfs.h btrfs: prefix sysfs attribute struct names 2017-10-30 12:27:58 +01:00
transaction.c Btrfs: only check delayed ref usage in should_end_transaction 2017-10-30 12:28:00 +01:00
transaction.h
tree-checker.c btrfs: tree-checker: use %zu format string for size_t 2017-10-30 12:27:59 +01:00
tree-checker.h btrfs: Move leaf and node validation checker to tree-checker.c 2017-10-30 12:27:58 +01:00
tree-defrag.c
tree-log.c btrfs: pass root to various extent ref mod functions 2017-10-30 12:28:00 +01:00
tree-log.h
ulist.c
ulist.h
uuid-tree.c
volumes.c btrfs: fix false EIO for missing device 2017-10-30 12:28:01 +01:00
volumes.h btrfs: declare btrfs_report_missing_device() static 2017-10-30 12:27:59 +01:00
xattr.c
xattr.h
zlib.c
zstd.c