Btrfs: Update find free objectid function for orphan cleanup code
authorZheng Yan <zheng.yan@oracle.com>
Fri, 5 Sep 2008 20:43:53 +0000 (16:43 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:07 +0000 (11:04 -0400)
commit6527cdbe68a27a2ee745f36d001aa32d0f46f370
tree2525855633856050a854cabd6dc46b3c955d3b40
parentb214107eda845f9a5851ae198f5b972e0dc30c45
Btrfs: Update find free objectid function for orphan cleanup code

Orphan items use BTRFS_ORPHAN_OBJECTID (-5UUL) as key objectid. This
affects the find free objectid functions, inode objectid can easily
overflow after orphan file cleanup.

---

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/inode-map.c