• S
    [GFS2] Fix for root inode ref count bug · 7359a19c
    Steven Whitehouse 提交于
    Umount is now working correctly again. The bug was due to
    not getting an extra ref count when mounting the fs. We
    should have bumped it by two (once for the internal pointer
    to the root inode from the super block and once for the
    inode hanging off the dcache entry for root).
    
    Also this patch tidys up the code dealing with looking up
    and creating inodes. We now pass Linux inodes (with gfs2_inodes
    attached) rather than the other way around and this reduces code
    duplication in various places.
    Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
    7359a19c
ops_inode.c 26.6 KB