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
Kirill Smelkov
linux
Commits
275d1783
Commit
275d1783
authored
Jul 18, 2002
by
Petr Vandrovec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Decide whether to build fs/ncpfs/symlinks.c or not in Makefile and not through
ifdefing whole file out. It should make Al happier.
parent
0f51d45f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
fs/ncpfs/Makefile
fs/ncpfs/Makefile
+7
-1
fs/ncpfs/symlink.c
fs/ncpfs/symlink.c
+0
-5
No files found.
fs/ncpfs/Makefile
View file @
275d1783
...
...
@@ -5,7 +5,13 @@
obj-$(CONFIG_NCP_FS)
+=
ncpfs.o
ncpfs-objs
:=
dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o
\
symlink.o ncpsign_kernel.o
ncpsign_kernel.o
ifeq
($(CONFIG_NCPFS_EXTRAS),y)
ncpfs-objs
+=
symlink.o
endif
ifeq
($(CONFIG_NCPFS_NFS_NS),y)
ncpfs-objs
+=
symlink.o
endif
# If you want debugging output, please uncomment the following line
# EXTRA_CFLAGS += -DDEBUG_NCP=1
...
...
fs/ncpfs/symlink.c
View file @
275d1783
...
...
@@ -22,8 +22,6 @@
#include <linux/config.h>
#if defined(CONFIG_NCPFS_EXTRAS) || defined(CONFIG_NCPFS_NFS_NS)
#include <asm/uaccess.h>
#include <linux/errno.h>
...
...
@@ -117,11 +115,9 @@ int ncp_symlink(struct inode *dir, struct dentry *dentry, const char *symname) {
DPRINTK
(
"ncp_symlink(dir=%p,dentry=%p,symname=%s)
\n
"
,
dir
,
dentry
,
symname
);
#ifdef CONFIG_NCPFS_NFS_NS
if
(
ncp_is_nfs_extras
(
NCP_SERVER
(
dir
),
NCP_FINFO
(
dir
)
->
volNumber
))
kludge
=
0
;
else
#endif
#ifdef CONFIG_NCPFS_EXTRAS
if
(
NCP_SERVER
(
dir
)
->
m
.
flags
&
NCP_MOUNT_SYMLINKS
)
kludge
=
1
;
...
...
@@ -182,6 +178,5 @@ failfree:;
kfree
(
rawlink
);
return
err
;
}
#endif
/* ----- EOF ----- */
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