]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix the same inode id problem when doing auto defragment
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 24 May 2012 10:58:27 +0000 (18:58 +0800)
committerJosef Bacik <josef@redhat.com>
Wed, 30 May 2012 14:23:38 +0000 (10:23 -0400)
commit168ab4d5700985217eda5ef2a9e5c1c5c2c25714
tree9f6e426d359faf438775df1d1cc5a59a4924478f
parent821aab98cc8597b2b5a55699bb910a589b2373a4
Btrfs: fix the same inode id problem when doing auto defragment

Two files in the different subvolumes may have the same inode id, so
The rb-tree which is used to manage the defragment object must take it
into account. This patch fix this problem.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/file.c