• J. R. Okajima's avatar
    aufs: bugfix, IMA i_readcount · d8e4eb08
    J. R. Okajima authored
    
    
    By the recent commit
    	21913077f9918 2020-06-17 aufs: do not call i_readcount_inc()
    a very old bug was fixed, which is inblance counter.
    But still aufs needs to call i_readcount_inc() when the branch
    permission is chaned from RW to RO.  Otherwise the counter reaches 0
    and BUG() in i_readcount_dec() will be activated.
    Signed-off-by: default avatarJ. R. Okajima <hooanon05g@gmail.com>
    (cherry picked from commit f10aea57d39d6cd311312e9e7746804f7059b5c8)
    d8e4eb08
branch.c 31.3 KB