diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-02-25 22:41:22 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-04 00:43:04 (GMT) |
commit | 582de7caf578f3ed1f52bc93ad926a580af885b4 (patch) | |
tree | 52851084225a3eb328e62e5d3647221bab0408bf /drivers/staging | |
parent | 83a0f9bc658b20b06740691d9ee711c5d14b6e8a (diff) | |
download | linux-fsl-qoriq-582de7caf578f3ed1f52bc93ad926a580af885b4.tar.xz |
Staging/pohmelfs: fix write_inode parameter warning
sparse warns that:
drivers/staging/pohmelfs/inode.c:1797: warning: initialization from incompatible pointer type
so fix pohmelfs_write_inode() to have the expected parameters.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/pohmelfs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/pohmelfs/inode.c b/drivers/staging/pohmelfs/inode.c index eec3798..bf38280 100644 --- a/drivers/staging/pohmelfs/inode.c +++ b/drivers/staging/pohmelfs/inode.c @@ -396,7 +396,8 @@ int pohmelfs_remove_child(struct pohmelfs_inode *pi, struct pohmelfs_name *n) /* * Writeback for given inode. */ -static int pohmelfs_write_inode(struct inode *inode, int sync) +static int pohmelfs_write_inode(struct inode *inode, + struct writeback_control *wbc) { struct pohmelfs_inode *pi = POHMELFS_I(inode); |