Fix lint check error when buftype is nofile