]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ext2/dir.c
[GFS2] Kernel changes to support new gfs2_grow command (part 2)
[linux-2.6-omap-h63xx.git] / fs / ext2 / dir.c
index e89bfc8cf957f73ae8de1682482464efcb7672ae..2bf49d7ef841423d03c44527e1578f7f8c4a2f38 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "ext2.h"
 #include <linux/pagemap.h>
-#include <linux/smp_lock.h>
 
 typedef struct ext2_dir_entry_2 ext2_dirent;
 
@@ -161,10 +160,7 @@ static struct page * ext2_get_page(struct inode *dir, unsigned long n)
        struct address_space *mapping = dir->i_mapping;
        struct page *page = read_mapping_page(mapping, n, NULL);
        if (!IS_ERR(page)) {
-               wait_on_page_locked(page);
                kmap(page);
-               if (!PageUptodate(page))
-                       goto fail;
                if (!PageChecked(page))
                        ext2_check_page(page);
                if (PageError(page))