commit | 19dff1ba9dfe6f474d22224267a7407c949d6803 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <miklos@szeredi.hu> | Tue Oct 30 15:06:52 2001 +0000 |
committer | Miklos Szeredi <miklos@szeredi.hu> | Tue Oct 30 15:06:52 2001 +0000 |
tree | 5e150c70866bc04869930c402bf80b6a99540489 | |
parent | b483c93623dd64eb5f1dcf23f32adb32f616ee0e [diff] [blame] |
x
diff --git a/kernel/inode.c b/kernel/inode.c index b59a146..702ef57 100644 --- a/kernel/inode.c +++ b/kernel/inode.c
@@ -182,6 +182,9 @@ sb->u.generic_sbp = fc; sb->s_root = d_alloc_root(root); + if(!sb->s_root) + goto err; + fc->sb = sb; spin_unlock(&fuse_lock);