commit | 917d0dac31e149f8cca7ae2175ee5acc2d7b6892 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Wed Nov 02 08:23:10 2011 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Wed Nov 02 08:23:10 2011 -0400 |
tree | 663e5eed13d349e3d1f838abe8e3100e0b292ca8 | |
parent | 502cbbcd3ebe829c0c8d20e3bf007b7cae3223e5 [diff] |
Btrfs: deal with eexist in the log while logging files When using mount -o inode_cache, the tree logging code may find a file in the log from the previous generation of the file. The current code will error out with EEXIST and eventually BUG(). This changes things to handle the eexist and clear out the old version of the file. Signed-off-by: Chris Mason <chris.mason@oracle.com>