[PATCH] dm: noflush resizing (1/3) Add bdlookup()

2007-10-24 Thread Jun'ichi Nomura
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()

[PATCH] dm: noflush resizing (1/3) Add bdlookup()

2007-10-24 Thread Jun'ichi Nomura
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()