diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-09-11 15:51:21 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:07 -0400 |
commit | 8d5bf1cb35ea29795862ff0ea2f4c4d7e22727f3 (patch) | |
tree | 1c9af9227dfb34a47230ebefbb0eed4f3125bcfe /fs/btrfs/inode.c | |
parent | 4bef084857ab8fe71cf49eae349c25e440a49150 (diff) | |
download | op-kernel-dev-8d5bf1cb35ea29795862ff0ea2f4c4d7e22727f3.zip op-kernel-dev-8d5bf1cb35ea29795862ff0ea2f4c4d7e22727f3.tar.gz |
Btrfs: Update the highest objectid in a root after log replay is done
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ static int btrfs_set_inode_index(struct inode *dir, struct inode *inode, 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; |