diff options
author | Josef Bacik <josef@redhat.com> | 2010-11-19 02:18:02 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-11-22 03:26:08 (GMT) |
commit | 76195853903ca613ba722203db9b747d70478fc7 (patch) | |
tree | d3c7af7f141566a1ca2acfdf1efccd374b5e349f /Documentation/leds-class.txt | |
parent | 2ede0daf01549cecf4bb0962c46dc47382047523 (diff) | |
download | linux-fsl-qoriq-76195853903ca613ba722203db9b747d70478fc7.tar.xz |
Btrfs: fix more ESTALE problems with NFS
When creating new inodes we don't setup inode->i_generation. So if we generate
an fh with a newly created inode we save the generation of 0, but if we flush
the inode to disk and have to read it back when getting the inode on the server
we'll have the right i_generation, so gens wont match and we get ESTALE. This
patch properly sets inode->i_generation when we create the new inode and now I'm
no longer getting ESTALE. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'Documentation/leds-class.txt')
0 files changed, 0 insertions, 0 deletions