patch-2.2.16 linux/fs/ncpfs/inode.c
Next file: linux/fs/ncpfs/ncplib_kernel.h
Previous file: linux/fs/ncpfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Wed Jun 7 14:26:43 2000
- Orig file:
v2.2.15/linux/fs/ncpfs/inode.c
- Orig date:
Wed May 3 17:16:46 2000
diff -urN v2.2.15/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -105,8 +105,7 @@
switch (nwi->attributes & (aHIDDEN|aSYSTEM)) {
case aHIDDEN:
if (server->m.flags & NCP_MOUNT_SYMLINKS) {
- if ((inode->i_size >= NCP_MIN_SYMLINK_SIZE)
- && (inode->i_size <= NCP_MAX_SYMLINK_SIZE)) {
+ if (inode->i_size <= NCP_MAX_SYMLINK_SIZE) {
inode->i_mode = (inode->i_mode & ~S_IFMT) | S_IFLNK;
break;
}
@@ -168,8 +167,7 @@
switch (nwi->attributes & (aHIDDEN|aSYSTEM)) {
case aHIDDEN:
if (server->m.flags & NCP_MOUNT_SYMLINKS) {
- if ((inode->i_size >= NCP_MIN_SYMLINK_SIZE)
- && (inode->i_size <= NCP_MAX_SYMLINK_SIZE)) {
+ if (inode->i_size <= NCP_MAX_SYMLINK_SIZE) {
inode->i_mode = (inode->i_mode & ~S_IFMT) | S_IFLNK;
break;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)