X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fafs%2FVNOPS%2Fafs_vnop_symlink.c;h=02ba3b43a131f6ba3d81c9a6b372e3c3c0f55ce5;hp=1dd461125727948cc8ed35e7d300b0a7edb1c0b4;hb=f6af4a155d3636e8f812e40c7169dd8902ae64be;hpb=54e84a98f9747bb5bb2ad4b8031115ad7684c914 diff --git a/src/afs/VNOPS/afs_vnop_symlink.c b/src/afs/VNOPS/afs_vnop_symlink.c index 1dd4611..02ba3b4 100644 --- a/src/afs/VNOPS/afs_vnop_symlink.c +++ b/src/afs/VNOPS/afs_vnop_symlink.c @@ -57,6 +57,7 @@ afs_DisconCreateSymlink(struct vcache *avc, char *aname, afs_AdjustSize(tdc, len); tdc->validPos = len; tfile = afs_CFileOpen(&tdc->f.inode); + osi_Assert(tfile); afs_CFileWrite(tfile, 0, aname, len); afs_CFileClose(tfile); ReleaseWriteLock(&tdc->lock);