+ adfs-fix-filename-handling.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     adfs: fix filename handling
has been added to the -mm tree.  Its filename is
     adfs-fix-filename-handling.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: adfs: fix filename handling
From: James Bursa <james@xxxxxxxxx>

Fix filenames on adfs discs being terminated at the first character greater
than 128 (adfs filenames are Latin 1).  I saw this problem when using a
loopback adfs image on a 2.6.17-rc5 x86_64 machine, and the patch fixed it
there.


Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/adfs/dir_f.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/adfs/dir_f.c~adfs-fix-filename-handling fs/adfs/dir_f.c
--- a/fs/adfs/dir_f.c~adfs-fix-filename-handling
+++ a/fs/adfs/dir_f.c
@@ -53,7 +53,7 @@ static inline int adfs_readname(char *bu
 {
 	char *old_buf = buf;
 
-	while (*ptr >= ' ' && maxlen--) {
+	while ((unsigned char)*ptr >= ' ' && maxlen--) {
 		if (*ptr == '/')
 			*buf++ = '.';
 		else
_

Patches currently in -mm which might be from james@xxxxxxxxx are

adfs-fix-filename-handling.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux