xfs
[Top] [All Lists]

Re: [PATCH 2/3] xfs: rename xfs_buftarg structure members

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH 2/3] xfs: rename xfs_buftarg structure members
From: Roger Willcocks <roger@xxxxxxxxxxxxxxxx>
Date: Fri, 17 Jan 2014 21:12:17 +0000
Cc: xfs-oss <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <52D991E5.1010300@xxxxxxxxxxx>
References: <52D6CC91.6000408@xxxxxxxxxx> <52D9910C.9000205@xxxxxxxxxxx> <52D991E5.1010300@xxxxxxxxxxx>
- if ((pos & target->bt_smask) || (size & target->bt_smask)) {
+ if ((pos || size) & target->bt_meta_sectormask) {

nope...

|| needs to be |

(pos || size) yields a boolean



 
Roger Willcocks <roger@xxxxxxxxxxxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>