Revision 450ba0ea06b6ed3612d27f2b7127a9de4160f285 authored by Josef Bacik on 19 November 2010, 19:59:15 UTC, committed by Chris Mason on 27 November 2010, 18:37:51 UTC
There is a problem with how we use sget, it searches through the list of supers
attached to the fs_type looking for a super with the same fs_devices as what
we're trying to mount.  This depends on sb->s_fs_info being filled, but we don't
fill that in until we get to btrfs_fill_super, so we could hit supers on the
fs_type super list that have a null s_fs_info.  In order to fix that we need to
go ahead and setup a blank root with a blank fs_info to hold fs_devices, that
way our test will work out right and then we can set s_fs_info in
btrfs_set_super, and then open_ctree will simply use our pre-allocated root and
fs_info when setting everything up.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent 975f84f
History
File Mode Size
Kconfig -rw-r--r-- 1.2 KB
Makefile -rw-r--r-- 373 bytes
caif_config_util.c -rw-r--r-- 2.4 KB
caif_dev.c -rw-r--r-- 10.0 KB
caif_socket.c -rw-r--r-- 30.6 KB
cfcnfg.c -rw-r--r-- 13.0 KB
cfctrl.c -rw-r--r-- 16.5 KB
cfdbgl.c -rw-r--r-- 1.2 KB
cfdgml.c -rw-r--r-- 2.9 KB
cffrml.c -rw-r--r-- 3.7 KB
cfmuxl.c -rw-r--r-- 6.2 KB
cfpkt_skbuff.c -rw-r--r-- 13.0 KB
cfrfml.c -rw-r--r-- 6.6 KB
cfserl.c -rw-r--r-- 4.5 KB
cfsrvl.c -rw-r--r-- 5.1 KB
cfutill.c -rw-r--r-- 3.0 KB
cfveil.c -rw-r--r-- 2.7 KB
cfvidl.c -rw-r--r-- 1.9 KB
chnl_net.c -rw-r--r-- 12.4 KB

back to top