Use inode argument to obtain minor number even in extended close function.