• Steven Whitehouse's avatar
    GFS2: Fix symlink creation race · 5cf32524
    Steven Whitehouse authored
    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: default avatarSteven Whitehouse <swhiteho@redhat.com>
    5cf32524
ops_inode.c 28.9 KB