diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-05 00:45:19 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-06 10:46:42 -0500 |
commit | a18030445fd4dd20e2248007b5d1cf0b5d89c69d (patch) | |
tree | 0b41749bcfc185a6adccd124b53a2037f9fb1f26 /fs/nfs/write.c | |
parent | 9cf85e0a243b56f4ef8439a1e6430307fd9dcda6 (diff) | |
download | op-kernel-dev-a18030445fd4dd20e2248007b5d1cf0b5d89c69d.zip op-kernel-dev-a18030445fd4dd20e2248007b5d1cf0b5d89c69d.tar.gz |
NFS: Clean up calls to mark_inode_dirty() part 2
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 9624aec..7f3844d 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -440,7 +440,7 @@ nfs_mark_request_dirty(struct nfs_page *req) nfs_list_add_request(req, &nfsi->dirty); nfsi->ndirty++; spin_unlock(&nfsi->req_lock); - mark_inode_dirty(inode); + __mark_inode_dirty(inode, I_DIRTY_PAGES); } static void @@ -474,7 +474,7 @@ nfs_mark_request_commit(struct nfs_page *req) nfsi->ncommit++; spin_unlock(&nfsi->req_lock); inc_zone_page_state(req->wb_page, NR_UNSTABLE_NFS); - mark_inode_dirty(inode); + __mark_inode_dirty(inode, I_DIRTY_DATASYNC); } #endif |