commit | 8d5bf1cb35ea29795862ff0ea2f4c4d7e22727f3 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Thu Sep 11 15:51:21 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:07 2008 -0400 |
tree | 1c9af9227dfb34a47230ebefbb0eed4f3125bcfe | |
parent | 4bef084857ab8fe71cf49eae349c25e440a49150 [diff] [blame] |
Btrfs: Update the highest objectid in a root after log replay is done Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index b4dbb5c..073fdd7 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c
@@ -2239,8 +2239,9 @@ if (BTRFS_I(dir)->index_cnt == (u64)-1) { ret = btrfs_set_inode_index_count(dir); - if (ret) + if (ret) { return ret; + } } *index = BTRFS_I(dir)->index_cnt;