]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Make address_space_operations->invalidatepage return void
authorNeilBrown <neilb@suse.de>
Sun, 26 Mar 2006 09:37:18 +0000 (01:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:56:55 +0000 (08:56 -0800)
commit80962aaf9670c8085585ba10aa4a062ede0f5f10
treef7418aa963d729bf9fe8bd44d6c9b6e424a6c6bf
parent3f7a87e3589d64db3d3aae518d966179b3448bc3
[PATCH] Make address_space_operations->invalidatepage return void

The return value of this function is never used, so let's be honest and
declare it as void.

Some places where invalidatepage returned 0, I have inserted comments
suggesting a BUG_ON.

[akpm@osdl.org: JBD BUG fix]
[akpm@osdl.org: rework for git-nfs]
[akpm@osdl.org: don't go BUG in block_invalidate_page()]
Signed-off-by: Neil Brown <neilb@suse.de>
Acked-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/afs/file.c
fs/buffer.c
fs/ext3/inode.c
fs/jbd/transaction.c
fs/jfs/jfs_metapage.c
fs/nfs/file.c
fs/reiserfs/inode.c
fs/xfs/linux-2.6/xfs_aops.c
include/linux/buffer_head.h
include/linux/fs.h
include/linux/jbd.h