commit | dc327ed4cd320be689596365372a3683208c3ba0 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun May 06 19:46:30 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue May 08 12:53:21 2012 -0400 |
tree | 9393e6e22f5a3ece9ac0e739d93303f0cf1b9dc3 | |
parent | c57d1bc5e043dbb5ba82ded07003d71a8033d899 [diff] |
NFSv4: nfs_client_return_marked_delegations can't flush data Since even filemap_flush() needs to lock pages that are dirty, we cannot risk calling it from the state manager context. Therefore, we need to move the call to filemap_flush() to nfs_async_inode_return_delegation(). Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>