• A
    undo "fs: allow d_instantiate to be called with negative parent dentry" · 2853908a
    Al Viro 提交于
    Background: spufs used to mangle the order in which it had been building
    dentry trees.  It was broken in a lot of ways, but most of them required
    the right timing to trigger until an fsnotify change had added one more
    - the one that was always triggered.
    
    Unfortunately, insteading of fixing their long-standing bug the spufs
    folks had chosen to paper over the fsnotify trigger.  Eventually said
    bug had been spotted and killed off, but the pointless check in
    fsnotify has remained, complete with the implication that one *could*
    do that kind of crap.
    
    Again, a parent of any dentry should always be positive.  Any code
    can rely upon that and anything violating that assert is a bug,
    *not* something to be accomodated.
    Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
    2853908a
fsnotify_backend.h 16.5 KB