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
459de5e4
Commit
459de5e4
authored
Sep 02, 2003
by
Steve French
Committed by
Steve French
Sep 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bad return code mapping when server lacks hard link support
parent
2af141c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
fs/cifs/CHANGES
fs/cifs/CHANGES
+2
-1
fs/cifs/link.c
fs/cifs/link.c
+5
-2
No files found.
fs/cifs/CHANGES
View file @
459de5e4
Version 0.91
------------
Fix oops in reopen_files when invalid dentry. drop dentry on server rename
and on revalidate errors. Fix cases where pid is now tgid
and on revalidate errors. Fix cases where pid is now tgid. Fix return code
on create hard link when server does not support them.
Version 0.90
------------
...
...
fs/cifs/link.c
View file @
459de5e4
/*
* fs/cifs/link.c
*
* Copyright (
c) International Business Machines Corp., 2002
* Copyright (
C) International Business Machines Corp., 2002,2003
* Author(s): Steve French (sfrench@us.ibm.com)
*
* This library is free software; you can redistribute it and/or modify
...
...
@@ -51,9 +51,12 @@ cifs_hardlink(struct dentry *old_file, struct inode *inode,
if
(
cifs_sb_target
->
tcon
->
ses
->
capabilities
&
CAP_UNIX
)
rc
=
CIFSUnixCreateHardLink
(
xid
,
pTcon
,
fromName
,
toName
,
cifs_sb_target
->
local_nls
);
else
else
{
rc
=
CIFSCreateHardLink
(
xid
,
pTcon
,
fromName
,
toName
,
cifs_sb_target
->
local_nls
);
if
(
rc
==
-
EIO
)
rc
=
-
EOPNOTSUPP
;
}
/* if (!rc) */
{
...
...
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