[haiku-bugs] Re: [Haiku] #3358: Move the directory move check into the VFS layer

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 13 Jul 2020 16:57:53 -0000

#3358: Move the directory move check into the VFS layer
----------------------------+---------------------------
  Reporter:  axeld          |      Owner:  nobody
      Type:  enhancement    |     Status:  assigned
  Priority:  low            |  Milestone:  R1
 Component:  System/Kernel  |    Version:  R1/pre-alpha1
Resolution:                 |   Keywords:
Blocked By:                 |   Blocking:
  Platform:  All            |
----------------------------+---------------------------
Comment (by pulkomandy):

 Still relevant as far as I can see. The code to check this is in
 kernel_interface.cpp for bfs at line 1205 ("Don't move a directory into
 one of it's childre" as a comment). It should be moved, if I'm reading
 this right, to src/kernel/fs/vfs.cpp in the common_rename function.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/3358#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #3358: Move the directory move check into the VFS layer - Haiku