[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sparc 20 and Kernel Oops on chmod()!



Hi,

> PSR: 401000c0 PC: f00554d5 NPC: f00554d8 Y: 00000000

static struct inode * find_inode(struct super_block * sb, unsigned long ino, struct list_head *head, find_inode_t find_actor, void *opaque)
{
        struct list_head *tmp;
        struct inode * inode;

        tmp = head;
        for (;;) {
                tmp = tmp->next;
                inode = NULL;
                if (tmp == head)
                        break;
                inode = list_entry(tmp, struct inode, i_hash);
>>>>>>>>        if (inode->i_sb != sb)
                        continue;

Question is, where are we getting this dodgy inode * from? I had a quick
look at the assembly and its doing some interesting reordering (I only have
the 8 instructions around the fault unfortunately). What compiler are you
using?

Anton



Reply to: