diff --git a/fs/xfs/xfs_symlink.c b/fs/xfs/xfs_symlink.c index f614e28f42d5eb9e6b4fbdede0596fc84b4c7423..8cd3ad4a0dfb0f886b340d3c34b6a2059fcab55b 100644 --- a/fs/xfs/xfs_symlink.c +++ b/fs/xfs/xfs_symlink.c @@ -293,6 +293,7 @@ xfs_symlink( } ASSERT(pathlen == 0); } + i_size_write(VFS_I(ip), ip->i_d.di_size); /* * Create the directory entry for the symlink.