X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Flibfs.c;h=c88eab55aec95f4ab26427da882fd88c8b3ef512;hb=efe8dc556cd0f22e04c453188ffbc408b492eb82;hp=889311e3d06b66c6ea99c581f96a9d2774950d12;hpb=55065bc52795faae549abfb912aacc622dd63876;p=mv-sheeva.git diff --git a/fs/libfs.c b/fs/libfs.c index 889311e3d06..c88eab55aec 100644 --- a/fs/libfs.c +++ b/fs/libfs.c @@ -217,7 +217,8 @@ static const struct super_operations simple_super_operations = { * will never be mountable) */ struct dentry *mount_pseudo(struct file_system_type *fs_type, char *name, - const struct super_operations *ops, unsigned long magic) + const struct super_operations *ops, + const struct dentry_operations *dops, unsigned long magic) { struct super_block *s = sget(fs_type, NULL, set_anon_super, NULL); struct dentry *dentry; @@ -254,6 +255,7 @@ struct dentry *mount_pseudo(struct file_system_type *fs_type, char *name, dentry->d_parent = dentry; d_instantiate(dentry, root); s->s_root = dentry; + s->s_d_op = dops; s->s_flags |= MS_ACTIVE; return dget(s->s_root);