函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:fs\buffer.c Create Date:2022-07-29 10:45:26
首页 Copyright©Brick

3396
3397
3398
3399
3400
3401
3402
3403
3404
void free_buffer_head(struct buffer_head *bh)
{
    BUG_ON(!list_empty(&bh->b_assoc_buffers));
    kmem_cache_free(bh_cachep, bh);
    preempt_disable();
    __this_cpu_dec(bh_accounting.nr);
    recalc_bh_state();
    preempt_enable();
}