X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fbinfmt_misc.c;h=18657f001b43ba8b1393da95cb7b0481910ba937;hb=4b8df8915a6980f476e1fa8f4d156e36cb63bf76;hp=e6f57990b121650647663f95f33727280cf22c4d;hpb=fe6af6faec078ec8137631f24cb541f9918244f0;p=powerpc.git diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index e6f57990b1..18657f001b 100644 --- a/fs/binfmt_misc.c +++ b/fs/binfmt_misc.c @@ -727,8 +727,8 @@ static const struct super_operations s_ops = { static int bm_fill_super(struct super_block * sb, void * data, int silent) { static struct tree_descr bm_files[] = { - [1] = {"status", &bm_status_operations, S_IWUSR|S_IRUGO}, - [2] = {"register", &bm_register_operations, S_IWUSR}, + [2] = {"status", &bm_status_operations, S_IWUSR|S_IRUGO}, + [3] = {"register", &bm_register_operations, S_IWUSR}, /* last one */ {""} }; int err = simple_fill_super(sb, 0x42494e4d, bm_files);