Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1339012
| From | Philippe Loctaux <phil@philippeloctaux.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Btrfs: compression: added line after variable declaration |
| Date | 2016-02-22 00:30 +0100 |
| Message-ID | <r4LBU-53D-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Added line after variable declaration, fixing checkpatch warning.
Signed-off-by: Philippe Loctaux <phil@philippeloctaux.com>
---
fs/btrfs/compression.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c
index 3346cd8..5194b6f 100644
--- a/fs/btrfs/compression.c
+++ b/fs/btrfs/compression.c
@@ -522,6 +522,7 @@ static noinline int add_ra_bio_pages(struct inode *inode,
if (zero_offset) {
int zeros;
+
zeros = PAGE_CACHE_SIZE - zero_offset;
userpage = kmap_atomic(page);
memset(userpage + zero_offset, 0, zeros);
--
2.7.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] Btrfs: compression: added line after variable declaration Philippe Loctaux <phil@philippeloctaux.com> - 2016-02-22 00:30 +0100
Re: [PATCH] Btrfs: compression: added line after variable declaration Joe Perches <joe@perches.com> - 2016-02-22 01:40 +0100
Re: [PATCH] Btrfs: compression: added line after variable declaration Philippe Loctaux <phil@philippeloctaux.com> - 2016-02-22 02:00 +0100
csiph-web