NFS: Invalidate FsCache page flags when cache removed
commitd599064a1bca7bcbaabe54b94fa73ea86952cae3
authorDavid Howells <dhowells@redhat.com>
Fri, 3 Apr 2009 15:42:43 +0000 (3 16:42 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 3 Apr 2009 15:42:43 +0000 (3 16:42 +0100)
treef2b6d6b79053ea8a8b8178219203f30cc9c1c0b4
parentef79c097bbe9724e13937271b3457df560e00370
NFS: Invalidate FsCache page flags when cache removed

Invalidate the FsCache page flags on the pages belonging to an inode when the
cache backing that NFS inode is removed.

This allows a live cache to be withdrawn.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Tested-by: Daire Byrne <Daire.Byrne@framestore.com>
fs/nfs/fscache-index.c