]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - fs/xfs/xfs_iomap.h
xfs: get rid of count from xfs_iomap_write_allocate()
authorJie Liu <jeff.liu@oracle.com>
Sun, 29 Sep 2013 10:56:04 +0000 (18:56 +0800)
committerBen Myers <bpm@sgi.com>
Tue, 1 Oct 2013 20:42:34 +0000 (15:42 -0500)
commit0799a3e808e5543235bcdfe9d1fa1572e0e86ab5
treebb249b619d1df30f8f23735ab710ae8e2050d7fe
parentaaaae98022efa4f3c31042f1fdf9e7a0c5f04663
xfs: get rid of count from xfs_iomap_write_allocate()

Get rid of function variable count from xfs_iomap_write_allocate() as
it is unused.

Additionally, checkpatch warn me of the following for this change:
WARNING: extern prototypes should be avoided in .h files
+extern int xfs_iomap_write_allocate(struct xfs_inode *, xfs_off_t,

So this patch also remove all extern function prototypes at xfs_iomap.h
to suppress it to make this code style in consistent manner in this file.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h