| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 02/36] xfs: fix some minor sparse warnings |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Wed, 13 Nov 2013 17:40:26 +1100 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1384324860-25677-1-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1384324860-25677-1-git-send-email-david@xxxxxxxxxxxxx> |
From: Dave Chinner <dchinner@xxxxxxxxxx>
A couple of simple locking annotations and 0 vs NULL warnings.
Nothing that changes any code behaviour, just removes build noise.
Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
---
libxfs/xfs_bmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libxfs/xfs_bmap.c b/libxfs/xfs_bmap.c
index 2d480cc..7336abf 100644
--- a/libxfs/xfs_bmap.c
+++ b/libxfs/xfs_bmap.c
@@ -4415,7 +4415,7 @@ xfs_bmapi_write(
{
struct xfs_mount *mp = ip->i_mount;
struct xfs_ifork *ifp;
- struct xfs_bmalloca bma = { 0 }; /* args for xfs_bmap_alloc */
+ struct xfs_bmalloca bma = { NULL }; /* args for xfs_bmap_alloc */
xfs_fileoff_t end; /* end of mapped file region */
int eof; /* after the end of extents */
int error; /* error return */
--
1.8.4.rc3
|
| Previous by Date: | [PATCH 27/36] db: re-enable write support for v5 filesystems., Dave Chinner |
|---|---|
| Next by Date: | [PATCH 03/36] xfs: create a shared header file for format-related information, Dave Chinner |
| Previous by Thread: | [PATCH 27/36] db: re-enable write support for v5 filesystems., Dave Chinner |
| Next by Thread: | [PATCH 03/36] xfs: create a shared header file for format-related information, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |