]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/cgroup.c
vfs: simple_set_mnt() should return void
[net-next-2.6.git] / kernel / cgroup.c
index b01100ebd074673986ebb694004af973a172430d..c500ca7239b21a465831e2b3f0454f14505ff3e9 100644 (file)
@@ -1071,7 +1071,8 @@ static int cgroup_get_sb(struct file_system_type *fs_type,
                mutex_unlock(&cgroup_mutex);
        }
 
-       return simple_set_mnt(mnt, sb);
+       simple_set_mnt(mnt, sb);
+       return 0;
 
  free_cg_links:
        free_cg_links(&tmp_cg_links);