On Sat, Apr 02, 2011 at 05:01:16PM +0800, Zhu Yanhai wrote:
> bdget() should not be called when we hold spinlocks since> it might sleep.> > Signed-off-by: Zhu Yanhai <gaoyang.zyh@taobao.com>
I've added the patch to the patch queue. Technically we should never
have a problem, though, since we only use this for the journal inode,
which is not going to be a fresly created inode. So I don't think we
should ever hit the paths that will result in the kernel sleeping.
But I agree it's better to move it out, if for no other reason to make
life easier for static checkers.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html