Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
bec273b4
Commit
bec273b4
authored
Oct 27, 2005
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFS: Allow files that are open for write to invalidate caches
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
16c32b71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
fs/nfs/inode.c
fs/nfs/inode.c
+0
-4
No files found.
fs/nfs/inode.c
View file @
bec273b4
...
...
@@ -1057,15 +1057,11 @@ int nfs_open(struct inode *inode, struct file *filp)
ctx
->
mode
=
filp
->
f_mode
;
nfs_file_set_open_context
(
filp
,
ctx
);
put_nfs_open_context
(
ctx
);
if
((
filp
->
f_mode
&
FMODE_WRITE
)
!=
0
)
nfs_begin_data_update
(
inode
);
return
0
;
}
int
nfs_release
(
struct
inode
*
inode
,
struct
file
*
filp
)
{
if
((
filp
->
f_mode
&
FMODE_WRITE
)
!=
0
)
nfs_end_data_update
(
inode
);
nfs_file_clear_open_context
(
filp
);
return
0
;
}
...
...
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