summaryrefslogtreecommitdiff
path: root/libdiskfs/file-set-trans.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-01-24 02:42:58 +0000
committerRoland McGrath <roland@gnu.org>1999-01-24 02:42:58 +0000
commitcbbdc2a484b38c848d415b715913ae406a7ea9b8 (patch)
tree4c9f4da61e66c50ffd848995c2b1023b9558c0a9 /libdiskfs/file-set-trans.c
parent1630c743bcf9ba229c7c2e9a7fa5533d384aacab (diff)
1999-01-22 Roland McGrath <roland@baalperazim.frob.com>
* file-set-trans.c: Remove makedev, major, minor macro definitions. * dir-lookup.c: Likewise.
Diffstat (limited to 'libdiskfs/file-set-trans.c')
-rw-r--r--libdiskfs/file-set-trans.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c
index 8c1ccdfd..22f42ba9 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -1,5 +1,5 @@
/* libdiskfs implementation of fs.defs: file_set_translator
- Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1992, 93, 94, 95, 96, 99 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -20,9 +20,6 @@
#include <hurd/paths.h>
#include <hurd/fsys.h>
-/* XXX - Temporary */
-#define makedev(maj,min) ((((maj)&0xFF)<<8)+((min)&0xFF))
-
/* Implement file_set_translator as described in <hurd/fs.defs>. */
kern_return_t
diskfs_S_file_set_translator (struct protid *cred,
@@ -159,7 +156,7 @@ diskfs_S_file_set_translator (struct protid *cred,
}
minor = strtol (arg, 0, 0);
- error = diskfs_validate_rdev_change (np,
+ error = diskfs_validate_rdev_change (np,
makedev (major, minor));
if (error)
{