On Tue, Apr 7, 2015 at 3:57 PM, Kanonenvogel <kanonenvogel....@gmail.com> wrote: > I have idea to modify falloc() function and related logic. > Now, after successful faclloc call, we have half-initialized struct file > object, protected by FIF_LARVAL flag. > I want to initialise struct file object within falloc() and then put it to > fd_ofiles array and filehead list. This modification > permits to avoid half-initialization state and remove FIF_LARVAL flag and > related logic.
The hard case is blocking opens of fifos, as the underlying operation involves a change visible to another process and that therefore cannot be rolled back. Philip Guenther