Re: [PATCHv2 0/3] reiser4: space grabbing fixes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux