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

rtems filesystem question



At a first glance, it seems that 'umount()' is not really
safe. It seems that umount() does not inspect all the
userenv current_filesystem nodes to verify that no
thread has its cwd on the FS to be unmounted.

Also, there seems to be no protection against
one thread mounting stuff onto (or chdir()ing into)
a FS which another thread is just about to unmount.

Am I missing something?

-- Till