Message ID | 1456097209-3916-1-git-send-email-phil@philippeloctaux.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
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);
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(+)