Skip to content
Commit 5cf32524 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

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: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 7fa5d20d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment