This patch adds bdlookup() and bdlookup_disk().
They are lookup-only variant of bdget()/bdget_disk().
The function can be used when
- the caller wants to get bdev only if somebody already got it
(i.e. there is already bd_inode allocated in memory)
- the race between bdlookup() and bdget()
This patch adds bdlookup() and bdlookup_disk().
They are lookup-only variant of bdget()/bdget_disk().
The function can be used when
- the caller wants to get bdev only if somebody already got it
(i.e. there is already bd_inode allocated in memory)
- the race between bdlookup() and bdget()
2 matches
Mail list logo