make ->atomic_open() return int