X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fbinfmt_misc.c;h=18657f001b43ba8b1393da95cb7b0481910ba937;hb=7ae439ce0c01d7db0c70d1542985969e95ef750d;hp=e6f57990b121650647663f95f33727280cf22c4d;hpb=4559b438225b01942e1661759db0df55883b1bc0;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);