mm/truncate.c: fix build for CONFIG_BLOCK not enabled
authorRandy Dunlap <rdunlap@xenotime.net>
Thu, 21 Jul 2011 20:55:37 +0000 (13:55 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 22 Jul 2011 23:41:19 +0000 (19:41 -0400)
commited70afcd6e795e3de98df56f1cd0f898fbf641a7
tree7d81e3e3e6b30fe8025d45aa6b81ea553095e701
parent295cc522c2b2834b302424e41ebb5846df6d61bd
mm/truncate.c: fix build for CONFIG_BLOCK not enabled

Fix build error when CONFIG_BLOCK is not enabled by providing a stub
inode_dio_wait() function.

mm/truncate.c:612: error: implicit declaration of function 'inode_dio_wait'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/fs.h