freebsd-skq/sys/ufs
Kirk McKusick 3289d5877a When renaming a directory from one parent directory to another,
we need to call ufs_checkpath() to walk from our new location to
the root of the filesystem to ensure that we do not encounter
ourselves along the way. Until now, we accomplished this by reading
the ".." entries of each directory in our path until we reached
the root (or encountered an error). This change tries to avoid the
I/O of reading the ".." entries by first looking them up in the
name cache and only doing the I/O when the name cache lookup fails.

Reviewed by: kib
Tested by:   Peter Holm
MFC after:   4 weeks
2013-03-20 17:57:00 +00:00
..
ffs UFS support of the unmapped i/o for the user data buffers. 2013-03-19 15:08:15 +00:00
ufs When renaming a directory from one parent directory to another, 2013-03-20 17:57:00 +00:00