commit | 5cf32524de745c56e1411d63eccf23fef1709d73 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Tue Mar 31 16:06:27 2009 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Wed Apr 15 10:15:38 2009 +0100 |
tree | 300c28954930875a4016d51fa7b7def93c7dc1bd | |
parent | 7fa5d20d1a5e60ef7e453993b67b26c87dc09f07 [diff] |
GFS2: Fix symlink creation race In certain cases symlinks can appear to have zero size if a lookup on the inode occurs within a certain (very short) time after the symlink has been created. The symlink is correctly created on disk but appears to have zero size when stat()ed. This patch closes the race and prevents incorrect sizes appearing. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>