NFS: Remove redundant call to __set_page_dirty_nobuffers
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>
This commit is contained in:
parent
023859ce6f
commit
4cd27df88a
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user