ext3: copy i_flags to inode flags on write
[deliverable/linux.git] / fs / inode.c
index 81508b0a3a70c2403986e77acef9aac1960d8762..410f235c337bb3a0fcdecd5487f3fcc9e24b3213 100644 (file)
@@ -275,7 +275,7 @@ static void dispose_list(struct list_head *head)
        while (!list_empty(head)) {
                struct inode *inode;
 
-               inode = list_entry(head->next, struct inode, i_list);
+               inode = list_first_entry(head, struct inode, i_list);
                list_del(&inode->i_list);
 
                if (inode->i_data.nrpages)
This page took 0.025162 seconds and 5 git commands to generate.