Skip to content

Commit

Permalink
NFS: Clean up calls to mark_inode_dirty() part 2
Browse files Browse the repository at this point in the history
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Dec 6, 2006
1 parent 9cf85e0 commit a180304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/nfs/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit a180304

Please sign in to comment.