[PATCH v2 0/3] btrfs: fix several sparse warnings

From: Omar Sandoval
Date: Tue Sep 30 2014 - 18:01:08 EST


This patch series fixes some warnings reported by sparse when building the
btrfs module. It fixes two classes of warnings: address space warnings and lock
context warnings. This didn't uncover any logical errors, but it reduces the
noise when checking the source. There are a few less straightforward sparse
warnings still remaining.

Version 2 replaces an open-coded implementation of kernel_write in write_buf,
doesn't touch unrelated style issues, and add's David's Reviewed-by.

This patch series applies to 3.17-rc7.

Omar Sandoval (3):
btrfs: replace open-coded kernel_write
btrfs: fix sparse address space warnings
btrfs: fix sparse lock context warnings

fs/btrfs/extent-tree.c | 1 +
fs/btrfs/extent_io.c | 2 +-
fs/btrfs/free-space-cache.c | 1 +
fs/btrfs/ioctl.c | 6 +++---
fs/btrfs/locking.c | 1 +
fs/btrfs/send.c | 21 ++++++---------------
6 files changed, 13 insertions(+), 19 deletions(-)

--
2.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/