projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
160bc16
)
NFS: Eliminate duplicate call to nfs_mark_request_dirty
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 11 Apr 2011 15:56:23 +0000
(11:56 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 12 Apr 2011 23:34:22 +0000
(19:34 -0400)
We only need to call nfs_mark_request_dirty() once in nfs_writepage_setup().
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c
patch
|
blob
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index e4cbc11a74ab56238687c5445989177a7714dd5a..bb608186b0998e15eed5f7c052c46f2be6029439 100644
(file)
--- a/
fs/nfs/write.c
+++ b/
fs/nfs/write.c
@@
-680,7
+680,6
@@
static int nfs_writepage_setup(struct nfs_open_context *ctx, struct page *page,
req = nfs_setup_write_request(ctx, page, offset, count);
if (IS_ERR(req))
return PTR_ERR(req);
- nfs_mark_request_dirty(req);
/* Update file length */
nfs_grow_file(page, offset, count);
nfs_mark_uptodate(page, req->wb_pgbase, req->wb_bytes);