Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
a1803044
Commit
a1803044
authored
Dec 05, 2006
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFS: Clean up calls to mark_inode_dirty() part 2
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
9cf85e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fs/nfs/write.c
fs/nfs/write.c
+2
-2
No files found.
fs/nfs/write.c
View file @
a1803044
...
@@ -440,7 +440,7 @@ nfs_mark_request_dirty(struct nfs_page *req)
...
@@ -440,7 +440,7 @@ nfs_mark_request_dirty(struct nfs_page *req)
nfs_list_add_request
(
req
,
&
nfsi
->
dirty
);
nfs_list_add_request
(
req
,
&
nfsi
->
dirty
);
nfsi
->
ndirty
++
;
nfsi
->
ndirty
++
;
spin_unlock
(
&
nfsi
->
req_lock
);
spin_unlock
(
&
nfsi
->
req_lock
);
mark_inode_dirty
(
inode
);
__mark_inode_dirty
(
inode
,
I_DIRTY_PAGES
);
}
}
static
void
static
void
...
@@ -474,7 +474,7 @@ nfs_mark_request_commit(struct nfs_page *req)
...
@@ -474,7 +474,7 @@ nfs_mark_request_commit(struct nfs_page *req)
nfsi
->
ncommit
++
;
nfsi
->
ncommit
++
;
spin_unlock
(
&
nfsi
->
req_lock
);
spin_unlock
(
&
nfsi
->
req_lock
);
inc_zone_page_state
(
req
->
wb_page
,
NR_UNSTABLE_NFS
);
inc_zone_page_state
(
req
->
wb_page
,
NR_UNSTABLE_NFS
);
mark_inode_dirty
(
inode
);
__mark_inode_dirty
(
inode
,
I_DIRTY_DATASYNC
);
}
}
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment