Iterate through inodes instead of dentries in xml_update_image_info()