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)
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

diff --cc fs/btrfs/file.c
Simple merge