andi8086
andi8086

Reputation: 413

What does function name "brelse" in linux kernel fs/buffer.c stand for?

I am diving into how to write a kernel file system driver and I quite of understand what "brelse" function is supposed to do, but I cannot make sense of this abbreviation. Is the "b" for buffer? And if yes, what does "relse" mean? Is it a useless abbreviation of "brelease"?

Upvotes: 1

Views: 475

Answers (1)

bk2204
bk2204

Reputation: 76874

It almost certainly stands for “buffer release.” While I also find the abbreviation “relse” confusing, it has precedent in an obsolete function from System V that's called “sigrelse.” It is contrasted with a function named “sighold”.

Upvotes: 3

Related Questions