Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6bf09fe3
Commit
6bf09fe3
authored
Aug 31, 2003
by
Steve French
Committed by
Steve French
Aug 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return error correctly on revalidate so dentry will be dropped.
parent
13d3261c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
fs/cifs/CHANGES
fs/cifs/CHANGES
+2
-2
fs/cifs/inode.c
fs/cifs/inode.c
+16
-4
No files found.
fs/cifs/CHANGES
View file @
6bf09fe3
Version 0.91
Version 0.91
------------
------------
Fix oops in reopen_files when invalid dentry. drop dentry on server rename
.
Fix oops in reopen_files when invalid dentry. drop dentry on server rename
Fix cases where pid is now tgid
and on revalidate errors.
Fix cases where pid is now tgid
Version 0.90
Version 0.90
------------
------------
...
...
fs/cifs/inode.c
View file @
6bf09fe3
...
@@ -587,12 +587,24 @@ cifs_revalidate(struct dentry *direntry)
...
@@ -587,12 +587,24 @@ cifs_revalidate(struct dentry *direntry)
}
}
}
}
if
(
cifs_sb
->
tcon
->
ses
->
capabilities
&
CAP_UNIX
)
if
(
cifs_sb
->
tcon
->
ses
->
capabilities
&
CAP_UNIX
)
{
cifs_get_inode_info_unix
(
&
direntry
->
d_inode
,
full_path
,
rc
=
cifs_get_inode_info_unix
(
&
direntry
->
d_inode
,
full_path
,
direntry
->
d_sb
);
direntry
->
d_sb
);
else
if
(
rc
)
{
cifs_get_inode_info
(
&
direntry
->
d_inode
,
full_path
,
NULL
,
cFYI
(
1
,(
"error on getting revalidate info %d"
,
rc
));
/* if(rc != -ENOENT)
rc = 0; */
/* BB should we cache info on certain errors? */
}
}
else
{
rc
=
cifs_get_inode_info
(
&
direntry
->
d_inode
,
full_path
,
NULL
,
direntry
->
d_sb
);
direntry
->
d_sb
);
if
(
rc
)
{
cFYI
(
1
,(
"error on getting revalidate info %d"
,
rc
));
/* if(rc != -ENOENT)
rc = 0; */
/* BB should we cache info on certain errors? */
}
}
/* should we remap certain errors, access denied?, to zero */
/* BB if not oplocked, invalidate inode pages if mtime has changed */
/* BB if not oplocked, invalidate inode pages if mtime has changed */
...
...
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