]> git.openfabrics.org - ~emulex/infiniband.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)
commit762f2263260d576504aeb23d20f90120acdb025f
tree9f6e426d359faf438775df1d1cc5a59a4924478f
parent2adcac1a7331d93a17285804819caa96070b231f
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