summaryrefslogtreecommitdiffstats
path: root/fs/umsdos/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/umsdos/dir.c')
-rw-r--r--fs/umsdos/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/umsdos/dir.c b/fs/umsdos/dir.c
index 63ee81b16..2e0b7bb14 100644
--- a/fs/umsdos/dir.c
+++ b/fs/umsdos/dir.c
@@ -700,7 +700,7 @@ struct dentry *umsdos_solve_hlink (struct dentry *hlink)
path = (char *) kmalloc (PATH_MAX, GFP_KERNEL);
if (path == NULL)
goto out_release;
- memcpy(path, (char*)kmap(page), hlink->d_inode->i_size);
+ memcpy(path, kmap(page), hlink->d_inode->i_size);
kunmap(page);
page_cache_release(page);