projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf85e0
)
NFS: Clean up calls to mark_inode_dirty() part 2
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 5 Dec 2006 05:45:19 +0000
(
00:45
-0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 6 Dec 2006 15:46:42 +0000
(10:46 -0500)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index 9624aecab9b5d33eaeac77ad32d8f47ebd7adb81..7f3844d2bf363f1c75b342d724bf1fd0829b8ff8 100644
(file)
--- 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