• J. R. Okajima's avatar
    aufs: possible bugfix, ignore the being freed sbinfo object · 01a1817a
    J. R. Okajima authored
    
    
    The scenario is very similar to previous commit
    "aufs: bugfix, ignore the being freed dynop object".
    One exception is that this commit is for sbinfo object which is managed
    by kobject (instead of kref).
    
    In order to enter the plink-maintenance mode, users write an ID to
    "/proc/fs/aufs/plink_maint" (this path is defined as macros in
    include/uapi/linux/aufs_type.h).  If someone else is unmounting the
    aufs mount corresponding that ID, then the searcher task may find a
    being freed sbinfo object.
    The problem and the fix is very similar to previous commit
    "aufs: bugfix, ignore the being freed dynop object".
    Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
    (cherry picked from commit 949b498ae30797b19b9e7ac9b230815f31ffe378)
    01a1817a
procfs.c 3.04 KB