summaryrefslogtreecommitdiff
path: root/Documentation/fmc/identifiers.txt
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2018-01-25 11:02:56 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-22 15:45:00 +0100
commit87dc89fc6127643d29fb9606600eb92be41704fb (patch)
tree14403b774fd7d8513a2fde5629c1ea24fbccb979 /Documentation/fmc/identifiers.txt
parent145832a93f28fb80d6cb22b5cd84df5a6e63f47b (diff)
Btrfs: fix unexpected -EEXIST when creating new inode
commit 900c9981680067573671ecc5cbfa7c5770be3a40 upstream. The highest objectid, which is assigned to new inode, is decided at the time of initializing fs roots. However, in cases where log replay gets processed, the btree which fs root owns might be changed, so we have to search it again for the highest objectid, otherwise creating new inode would end up with -EEXIST. cc: <stable@vger.kernel.org> v4.4-rc6+ Fixes: f32e48e92596 ("Btrfs: Initialize btrfs_root->highest_objectid when loading tree root and subvolume roots") Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/fmc/identifiers.txt')
0 files changed, 0 insertions, 0 deletions