Re: NFS4ERR_SYMLINK error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-03-09 at 14:06 -0400, J. Bruce Fields wrote:
> > That said, I don't think a careful client implementation
> > should ever get NFS4ERR_SYMLINK if it stats the directory it operates
> > on before sending the link op (or lookup, create, rename, etc.) to make
> > sure it is indeed a directory, right?.
> 
> That sounds racy.

The LINK op identifies the target directory by its filehandle, so I
can't see that there can be any race: the server isn't supposed to be
able to morph a directory into a symlink without changing its
filehandle.

Trond

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux