commit | b17854275cd297d40c6c5562fa44a472314c6c7f | [log] [tgz] |
---|---|---|
author | Yan <yanzheng@21cn.com> | Tue Jan 22 12:46:56 2008 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:59 2008 -0400 |
tree | a8056de7cbc45dd927cf1220ff2dfc8f4e15dd17 | |
parent | e18e4809b10e6c9efb5fe10c1ddcb4ebb690d517 [diff] |
Fix for btrfs_find_free_objectid btrfs_find_free_objectid may return a used objectid due to arithmetic underflow. This bug may happen when parameter 'root' is tree root, so it may cause serious problems when creating snapshot or sub-volume. Signed-off-by: Chris Mason <chris.mason@oracle.com>