diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-21 17:02:32 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-21 17:32:09 +0100 |
commit | c4271c6e37c32105492cbbed35f45330cb327b94 (patch) | |
tree | a3fd8be5fb51c29539ae3e540837e1e59ecd4e8b /net/rds/iw.h | |
parent | NFS: Provide stub nfs_fscache_wait_on_invalidate() for when CONFIG_NFS_FSCACHE=n (diff) | |
download | linux-c4271c6e37c32105492cbbed35f45330cb327b94.tar.xz linux-c4271c6e37c32105492cbbed35f45330cb327b94.zip |
NFS: Kill fscache warnings when mounting without -ofsc
The fscache code will currently bleat a "non-unique superblock keys"
warning even if the user is mounting without the 'fsc' option.
There should be no reason to even initialise the superblock cache cookie
unless we're planning on using fscache for something, so ensure that we
check for the NFS_OPTION_FSCACHE flag before calling into the fscache
code.
Reported-by: Paweł Sikora <pawel.sikora@agmk.net>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: David Howells <dhowells@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rds/iw.h')
0 files changed, 0 insertions, 0 deletions