这个函数释放一个打开文件。
对于实现了析构函数释放非内存资源的对象来说,这是最常见的问题。
This is mostly a problem with objects that implement a destructor to free non-memory resources.
spin_unlock _ irqrestore函数释放自旋锁,并且(通过flags参数)恢复中断。
The spin_unlock_irqrestore function releases the spinlock and restores the interrupts (via the flags argument).
应用推荐