modified bmap, added all inode functions