[XFS] Fix up sparse warnings.
These are mostly locking annotations, marking things static, casts where needed and declaring stuff in header files. SGI-PV: 971186 SGI-Modid: xfs-linux-melb:xfs-kern:30002a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:

committed by
Lachlan McIlroy

parent
a69b176df2
commit
a8272ce0c1
@@ -293,7 +293,7 @@ xlog_recover_iodone(
|
||||
* Note that the algorithm can not be perfect because the disk will not
|
||||
* necessarily be perfect.
|
||||
*/
|
||||
int
|
||||
STATIC int
|
||||
xlog_find_cycle_start(
|
||||
xlog_t *log,
|
||||
xfs_buf_t *bp,
|
||||
@@ -986,7 +986,7 @@ exit:
|
||||
* -1 => use *blk_no as the first block of the log
|
||||
* >0 => error has occurred
|
||||
*/
|
||||
int
|
||||
STATIC int
|
||||
xlog_find_zeroed(
|
||||
xlog_t *log,
|
||||
xfs_daddr_t *blk_no)
|
||||
|
Reference in New Issue
Block a user