Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231426

Re: [PATCH v2 2/2] btrfs: declare rsv_count as unsigned int instead of int

From David Sterba <dsterba@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] btrfs: declare rsv_count as unsigned int instead of int
Date 2015-09-23 15:00 +0200
Message-ID <qbROr-4Bm-29@gated-at.bofh.it> (permalink)
References <qbAaU-4xo-103@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 22, 2015 at 09:00:07PM +0000, Alexandru Moise wrote:
> rsv_count ultimately gets passed to start_transaction() which
> now takes an unsigned int as its num_items parameter.
> The value of rsv_count should always be positive so declare it
> as being unsigned.
> 
> Signed-off-by: Alexandru Moise <00moses.alexander00@gmail.com>

Reviewed-by: David Sterba <dsterba@suse.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 2/2] btrfs: declare rsv_count as unsigned int instead of  int Alexandru Moise <00moses.alexander00@gmail.com> - 2015-09-22 20:10 +0200
  Re: [PATCH v2 2/2] btrfs: declare rsv_count as unsigned int instead  of int David Sterba <dsterba@suse.cz> - 2015-09-23 15:00 +0200

csiph-web