Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1339012
| Path | csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Philippe Loctaux <phil@philippeloctaux.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] Btrfs: compression: added line after variable declaration |
| Date | Mon, 22 Feb 2016 00:30:02 +0100 |
| Message-ID | <r4LBU-53D-3@gated-at.bofh.it> (permalink) |
| X-Original-To | clm@fb.com |
| X-Greylist | delayed 5130 seconds by postgrey-1.27 at vger.kernel.org; Sun, 21 Feb 2016 18:26:54 EST |
| X-Mailer | git-send-email 2.7.1 |
| X-Ovh-Tracer-ID | 5169006473578910995 |
| X-Ovh-Remote | 86.253.201.12 (lfbn-1-1342-12.w86-253.abo.wanadoo.fr) |
| X-Ovh-Local | 213.186.33.20 (ns0.ovh.net) |
| X-Ovh-Spamstate | OK |
| X-Ovh-Spamcause | gggruggvucftvghtrhhoucdtuddrfeekjedrheefucetufdoteggodftvfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu |
| X-Vr-Spamstate | OK |
| X-Vr-Spamcause | gggruggvucftvghtrhhoucdtuddrfeekjedrheefgddujeduucetufdoteggodftvfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 21 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | jbacik@fb.com, dsterba@suse.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, Philippe Loctaux <phil@philippeloctaux.com> |
| X-Original-Date | Mon, 22 Feb 2016 00:26:49 +0100 |
| X-Original-Message-ID | <1456097209-3916-1-git-send-email-phil@philippeloctaux.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1339012 |
Show key headers only | View raw
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