Re: [PATCH 2/2] omfs: fix oops when file metadata is corrupted

From: Andrew Morton
Date: Fri Aug 15 2008 - 03:35:38 EST


On Thu, 14 Aug 2008 23:13:42 -0400 Bob Copeland <me@xxxxxxxxxxxxxxx> wrote:

> +out_brelse:
> + brelse(bh);

btw, put_bh() is the fashionable way of dropping a buffer refcount. We
still use brelse() when the pointer might be NULL, but often it is
known to not be.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/