On Mon, Sep 02, 2013 at 12:19:13PM +0100, Filipe David Borba Manana wrote:
Instead of removing the current inode from the red black tree
and then add the new one, just use the red black tree replace
operation, which is more efficient.
Yup, this looks correct to me.
Reviewed-by: Zach Brown
Instead of removing the current inode from the red black tree
and then add the new one, just use the red black tree replace
operation, which is more efficient.
Signed-off-by: Filipe David Borba Manana fdman...@gmail.com
---
fs/btrfs/inode.c | 10 +-
1 file changed, 5 insertions(+), 5