• J. R. Okajima's avatar
    aufs: enter/leave flag per task · 32bfe3d0
    J. R. Okajima authored
    
    
    In freeing aufs iinfo objects, it acquires the internal rw_sem (see
    another commit in detail). Since iinfo can be freed anytime, a deadlock
    may happen due to the rw_sem. To prevent this problem, this commit
    introduces a flag per task.
    This is another (very) ugly approach which I don't like.
    Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
    32bfe3d0
iinfo.c 4.06 KB