NFS: Fix NFS page_state usage
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 5 Jul 2006 17:17:12 +0000 (13:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 5 Jul 2006 17:17:12 +0000 (13:17 -0400)
commit83715ad54fad5a7ed330110f83e31ae92630e9d9
tree3e8717ef9d168cbefd950bac544cb38542e6ee90
parent5e66dd6d66ffe758b39b6dcadf2330753ee1159b
NFS: Fix NFS page_state usage

The introduction of the FLUSH_INVALIDATE argument to nfs_sync_inode_wait()
does not clear the nr_unstable page state counter for pages that are being
released.

Also fix a longstanding similar bug when nfs_commit_list() fails.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c