]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Provide stub nfs_fscache_wait_on_invalidate() for when CONFIG_NFS_FSCACHE=n
authorDavid Howells <dhowells@redhat.com>
Fri, 21 Dec 2012 12:15:05 +0000 (12:15 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 Dec 2012 16:06:48 +0000 (08:06 -0800)
commit35137ea4b91429bf73dcbf2a1ca3be5b8c73a81f
tree31349e624fade8277c0e21b8fe65a0c499fbf752
parentaddaa93e187cb9c449e7608432227dc4fa50519e
NFS: Provide stub nfs_fscache_wait_on_invalidate() for when CONFIG_NFS_FSCACHE=n

Provide a stub nfs_fscache_wait_on_invalidate() function for when
CONFIG_NFS_FSCACHE=n lest the following error appear:

  fs/nfs/inode.c: In function 'nfs_invalidate_mapping':
  fs/nfs/inode.c:887:2: error: implicit declaration of function 'nfs_fscache_wait_on_invalidate' [-Werror=implicit-function-declaration]
  cc1: some warnings being treated as errors

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reported-by: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Reported-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/fscache.h