xfs: clean up minor sparse warnings
Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:
parent
a05931ceb0
commit
8d2a5e6ee3
@ -29,6 +29,7 @@
|
|||||||
#include "xfs_dinode.h"
|
#include "xfs_dinode.h"
|
||||||
#include "xfs_inode.h"
|
#include "xfs_inode.h"
|
||||||
#include "xfs_inode_item.h"
|
#include "xfs_inode_item.h"
|
||||||
|
#include "xfs_dir2.h"
|
||||||
#include "xfs_dir2_format.h"
|
#include "xfs_dir2_format.h"
|
||||||
#include "xfs_dir2_priv.h"
|
#include "xfs_dir2_priv.h"
|
||||||
#include "xfs_error.h"
|
#include "xfs_error.h"
|
||||||
|
@ -293,7 +293,7 @@ xfs_compat_ioc_bulkstat(
|
|||||||
int res;
|
int res;
|
||||||
|
|
||||||
error = xfs_bulkstat_one_compat(mp, inlast, bulkreq.ubuffer,
|
error = xfs_bulkstat_one_compat(mp, inlast, bulkreq.ubuffer,
|
||||||
sizeof(compat_xfs_bstat_t), 0, &res);
|
sizeof(compat_xfs_bstat_t), NULL, &res);
|
||||||
} else if (cmd == XFS_IOC_FSBULKSTAT_32) {
|
} else if (cmd == XFS_IOC_FSBULKSTAT_32) {
|
||||||
error = xfs_bulkstat(mp, &inlast, &count,
|
error = xfs_bulkstat(mp, &inlast, &count,
|
||||||
xfs_bulkstat_one_compat, sizeof(compat_xfs_bstat_t),
|
xfs_bulkstat_one_compat, sizeof(compat_xfs_bstat_t),
|
||||||
|
@ -50,7 +50,10 @@
|
|||||||
#include <linux/fiemap.h>
|
#include <linux/fiemap.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
|
||||||
int xfs_initxattrs(struct inode *inode, const struct xattr *xattr_array,
|
static int
|
||||||
|
xfs_initxattrs(
|
||||||
|
struct inode *inode,
|
||||||
|
const struct xattr *xattr_array,
|
||||||
void *fs_info)
|
void *fs_info)
|
||||||
{
|
{
|
||||||
const struct xattr *xattr;
|
const struct xattr *xattr;
|
||||||
|
Loading…
Reference in New Issue
Block a user