Re: [PATCH v2 1/2] btrfs: change num_items type from u64 to unsigned int

2015-09-23 Thread David Sterba
On Tue, Sep 22, 2015 at 08:59:15PM +, Alexandru Moise wrote: > The value of num_items that start_transaction() ultimately > always takes is a small one, so a 64 bit integer is overkill. > > Also change num_items for btrfs_start_transaction() and > btrfs_start_transaction_lflush() as well. >

Re: [PATCH v2 1/2] btrfs: change num_items type from u64 to unsigned int

2015-09-23 Thread David Sterba
On Tue, Sep 22, 2015 at 08:59:15PM +, Alexandru Moise wrote: > The value of num_items that start_transaction() ultimately > always takes is a small one, so a 64 bit integer is overkill. > > Also change num_items for btrfs_start_transaction() and > btrfs_start_transaction_lflush() as well. >

[PATCH v2 1/2] btrfs: change num_items type from u64 to unsigned int

2015-09-22 Thread Alexandru Moise
The value of num_items that start_transaction() ultimately always takes is a small one, so a 64 bit integer is overkill. Also change num_items for btrfs_start_transaction() and btrfs_start_transaction_lflush() as well. Signed-off-by: Alexandru Moise <00moses.alexande...@gmail.com> --- v2:

[PATCH v2 1/2] btrfs: change num_items type from u64 to unsigned int

2015-09-22 Thread Alexandru Moise
The value of num_items that start_transaction() ultimately always takes is a small one, so a 64 bit integer is overkill. Also change num_items for btrfs_start_transaction() and btrfs_start_transaction_lflush() as well. Signed-off-by: Alexandru Moise <00moses.alexande...@gmail.com> --- v2: