On Thursday 23 October 2014 at 11:18:02, Ivan Shapovalov wrote: > [...] > > Ivan Shapovalov (3): > reiser4: block_alloc: improve error handling in reiser4_grab_reserved(). > reiser4: block_alloc: sanitize grab_enabled modifications. > reiser4: do not mess with grab_enabled; instead, use BA_FORCE. > > [...] This is a diff between v1 and v2, for ease of reviewing. diff --git a/fs/reiser4/block_alloc.c b/fs/reiser4/block_alloc.c index a30f7b9..9339de7 100644 --- a/fs/reiser4/block_alloc.c +++ b/fs/reiser4/block_alloc.c @@ -329,7 +329,7 @@ int reiser4_grab_space(__u64 count, reiser4_ba_flags_t flags) } } - if (!(flags & BA_FORCE) && (ret == 0)) { + if (ret == 0) { /* disable grab space in current context */ ctx->grab_enabled = 0; } -- Ivan Shapovalov / intelfx /
Attachment:
signature.asc
Description: This is a digitally signed message part.