From: "Delbert Matlock" <Delbert@Matlock.com>
To: <linux-kernel@vger.kernel.org>
Subject: UMSDOS symlink fix
Date: Fri, 3 Aug 2001 23:46:00 -0400 [thread overview]
Message-ID: <MPBBLFNMFLHJNJCJDPMCGEOLDMAA.Delbert@Matlock.com> (raw)
Enclosed is a one line fix for symlinks under the UMSDOS filesystem. Under
stock 2.4.7 (and 2.4.7-ac4), if you create a symlink the last letter of the
original file will be left off the link. This will fix it.
Now, if I can just get the blasted thing to mount as root.
-- Delbert Matlock
-- Delbert@Matlock.com
-- http://delbert.matlock.com/
diff -u -r linux.orig/fs/umsdos/namei.c linux/fs/umsdos/namei.c
--- linux.orig/fs/umsdos/namei.c Fri Feb 9 14:29:44 2001
+++ linux/fs/umsdos/namei.c Fri Aug 3 21:01:42 2001
@@ -491,7 +491,7 @@
goto out;
}
- len = strlen (symname);
+ len = strlen (symname) + 1;
ret = block_symlink(dentry->d_inode, symname, len);
if (ret < 0)
goto out_unlink;
next reply other threads:[~2001-08-04 3:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-04 3:46 Delbert Matlock [this message]
2001-08-04 4:54 ` Ignacio Vazquez-Abrams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MPBBLFNMFLHJNJCJDPMCGEOLDMAA.Delbert@Matlock.com \
--to=delbert@matlock.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®