cifs: refactor new_inode() calls and inode initialization