Fixes the mlx4 driver in accordance with commit 9724f9a56650 ("Move VFS
/dev/ -> /dev_vfs/").

Signed-off-by: Barret Rhoden <b...@cs.berkeley.edu>
---
 kern/drivers/net/udrvr/compat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kern/drivers/net/udrvr/compat.c b/kern/drivers/net/udrvr/compat.c
index 6db258de06e9..f2cd9300997d 100644
--- a/kern/drivers/net/udrvr/compat.c
+++ b/kern/drivers/net/udrvr/compat.c
@@ -304,7 +304,7 @@ static const struct file_operations cpuinfo = {
 
 void sysfs_init(void)
 {
-       do_mkdir("/dev/infiniband", S_IRWXU | S_IRWXG | S_IRWXO);
+       do_mkdir("/dev_vfs/infiniband", S_IRWXU | S_IRWXG | S_IRWXO);
        do_mkdir("/sys", S_IRWXU | S_IRWXG | S_IRWXO);
        do_mkdir("/sys/class", S_IRWXU | S_IRWXG | S_IRWXO);
        do_mkdir("/sys/class/infiniband_verbs", S_IRWXU | S_IRWXG | S_IRWXO);
@@ -423,7 +423,7 @@ void sysfs_create(int devnum, const struct file_operations 
*verb_fops,
     void *ptr)
 {
        char            sysname[256] = "/sys/class/infiniband_verbs/uverbs0";
-       char            devname[] = "/dev/infiniband/uverbs0";
+       char            devname[] = "/dev_vfs/infiniband/uverbs0";
        char            drvname[64] = "/sys/class/infiniband/";
        int             sysnameidx = strlen(sysname), drvidx;
        struct file     *fp;
-- 
2.8.0.rc3.226.g39d4020

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akaros+unsubscr...@googlegroups.com.
To post to this group, send email to akaros@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to