linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / efs / symlink.c
index 1d30d2f..3d9a350 100644 (file)
@@ -22,7 +22,7 @@ static int efs_symlink_readpage(struct file *file, struct page *page)
   
        err = -ENAMETOOLONG;
        if (size > 2 * EFS_BLOCKSIZE)
-               goto fail_notlocked;
+               goto fail;
   
        lock_kernel();
        /* read first 512 bytes of link target */
@@ -47,13 +47,12 @@ static int efs_symlink_readpage(struct file *file, struct page *page)
        return 0;
 fail:
        unlock_kernel();
-fail_notlocked:
        SetPageError(page);
        kunmap(page);
        unlock_page(page);
        return err;
 }
 
-const struct address_space_operations efs_symlink_aops = {
+struct address_space_operations efs_symlink_aops = {
        .readpage       = efs_symlink_readpage
 };