projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
023859c
)
NFS: Remove redundant call to __set_page_dirty_nobuffers
author
Trond Myklebust
<trond.myklebust@hammerspace.com>
Thu, 21 Oct 2021 21:11:37 +0000
(17:11 -0400)
committer
Trond Myklebust
<trond.myklebust@hammerspace.com>
Thu, 21 Oct 2021 21:11:41 +0000
(17:11 -0400)
Remove a redundant call in nfs_updatepage(). nfs_writepage_setup() will
have already called nfs_mark_request_dirty() on success.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/write.c
patch
|
blob
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index 82c5b89395f674b97bf1eaf410ec86593a1a40d0..9b7619ce17a77837bf27e6110b889dde9cfdabbc 100644
(file)
--- a/
fs/nfs/write.c
+++ b/
fs/nfs/write.c
@@
-1384,8
+1384,6
@@
int nfs_updatepage(struct file *file, struct page *page,
status = nfs_writepage_setup(ctx, page, offset, count);
if (status < 0)
nfs_set_pageerror(mapping);
- else
- __set_page_dirty_nobuffers(page);
out:
dprintk("NFS: nfs_updatepage returns %d (isize %lld)\n",
status, (long long)i_size_read(inode));