]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/reiserfs/stree.c
autofs4: collect version check return
[linux-2.6-omap-h63xx.git] / fs / reiserfs / stree.c
index ca41567d7890b8fecbec571d59f357e66eeb171e..abbc64dcc8d453cd8bd2281e382c85c37bd4fbf6 100644 (file)
@@ -1419,8 +1419,7 @@ int reiserfs_delete_object(struct reiserfs_transaction_handle *th,
 
                inode_generation =
                    &REISERFS_SB(th->t_super)->s_rs->s_inode_generation;
-               *inode_generation =
-                   cpu_to_le32(le32_to_cpu(*inode_generation) + 1);
+               le32_add_cpu(inode_generation, 1);
        }
 /* USE_INODE_GENERATION_COUNTER */
 #endif
@@ -1458,9 +1457,6 @@ static void unmap_buffers(struct page *page, loff_t pos)
                                }
                                bh = next;
                        } while (bh != head);
-                       if (PAGE_SIZE == bh->b_size) {
-                               cancel_dirty_page(page, PAGE_CACHE_SIZE);
-                       }
                }
        }
 }