Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1223622
| From | Alexandru Moise <00moses.alexander00@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] btrfs: declare rsv_count as u64 instead of int |
| Date | 2015-09-13 13:40 +0200 |
| Message-ID | <q8dNx-6ok-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This patch completes the 2-patches patch series which modifies btrfs_start_transaction() to receive an u64 as its "num_items" parameter thus avoiding to pass an int to start_transaction() which actually takes an u64. Signed-off-by: Alexandru Moise <00moses.alexander00@gmail.com> --- fs/btrfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index b823fac..92f6060 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -2266,7 +2266,7 @@ static int btrfs_punch_hole(struct inode *inode, loff_t offset, loff_t len) u64 drop_end; int ret = 0; int err = 0; - int rsv_count; + u64 rsv_count; bool same_page; bool no_holes = btrfs_fs_incompat(root->fs_info, NO_HOLES); u64 ino_size; -- 2.5.1 -- 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 | Next | Find similar | Unroll thread
[PATCH 2/2] btrfs: declare rsv_count as u64 instead of int Alexandru Moise <00moses.alexander00@gmail.com> - 2015-09-13 13:40 +0200
csiph-web