summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/devfs/devfs_init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-15 10:06:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-15 10:06:18 +0200
commita7d1992c8313eeb5e67bd0f7eebe35e61a103b8a (patch)
tree594b8171a2aba1a6908c2cc7a42d2a4497b4652e /cpukit/libfs/src/devfs/devfs_init.c
parentMerge branch 'upstream' (diff)
parentFilesystem: Move operations to mount table entry (diff)
downloadrtems-a7d1992c8313eeb5e67bd0f7eebe35e61a103b8a.tar.bz2
Merge branch 'upstream'
Diffstat (limited to 'cpukit/libfs/src/devfs/devfs_init.c')
-rw-r--r--cpukit/libfs/src/devfs/devfs_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/devfs/devfs_init.c b/cpukit/libfs/src/devfs/devfs_init.c
index e489781f63..7ec3d9f9be 100644
--- a/cpukit/libfs/src/devfs/devfs_init.c
+++ b/cpukit/libfs/src/devfs/devfs_init.c
@@ -56,9 +56,9 @@ int devFS_initialize(
int rv = 0;
if (data != NULL) {
+ mt_entry->ops = &devFS_ops;
mt_entry->immutable_fs_info = data;
mt_entry->mt_fs_root->location.handlers = &devFS_file_handlers;
- mt_entry->mt_fs_root->location.ops = &devFS_ops;
} else {
errno = EINVAL;
rv = -1;