diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-07 23:33:50 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-07 23:33:50 +0200 |
commit | 1fa4f9cb2e24794edb8dfcb5a566ec118f11763b (patch) | |
tree | 9198c19650f1536ccf6fa4d8382e70c5a29abca7 /libcons/Makefile | |
parent | 272cf0e4d15d927b692387d17c4cfa35d023ae63 (diff) |
Fix directory rename in firmlinked directory
checkpath browses directories up to look against renaming a directory into
itself. It used to assume being able to stop at the root of the filesystem. But
some per-opens have a shadow_root, where recursion has to stop too.
This means checkpath does not check up to the root any more. This is fine, since
we already prevent cross-shadow-root renames very early in dir-rename.c, we
do not need to check outside of this shadow root.
* libdiskfs/dir-renamed.c (checkpath): Also stop at the per-open shadow_root.
Diffstat (limited to 'libcons/Makefile')
0 files changed, 0 insertions, 0 deletions