]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-linux24-fix-20060820
authorDerrick Brashear <shadow@dementia.org>
Sun, 20 Aug 2006 06:34:18 +0000 (06:34 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 20 Aug 2006 06:34:18 +0000 (06:34 +0000)
fix ifdef damage

(cherry picked from commit 75599f03de22b1fd6e2818536078e9129741dfb4)

src/afs/LINUX/osi_vfsops.c

index c562594e4545d751ca27ee28194401518e65e5ba..245438bc3e248f8fd445014085a2436f8c9c916a 100644 (file)
@@ -57,11 +57,6 @@ int afs_fill_super(struct super_block *sb, void *data, int silent);
  * 2) Mount call comes to us via do_mount -> read_super -> afs_read_super.
  *    We are expected to setup the super_block. See afs_read_super.
  */
-#if defined(AFS_LINUX26_ENV)
-struct backing_dev_info afs_backing_dev_info = {
-       .ra_pages       = (VM_MAX_READAHEAD * 1024) / PAGE_CACHE_SIZE,
-       .state          = 0,
-};
 
 
 /* afs_read_super
@@ -105,6 +100,11 @@ struct file_system_type afs_fs_type = {
 };
 #endif
 
+#if defined(AFS_LINUX26_ENV)
+struct backing_dev_info afs_backing_dev_info = {
+       .ra_pages       = (VM_MAX_READAHEAD * 1024) / PAGE_CACHE_SIZE,
+       .state          = 0,
+};
 
 int
 afs_fill_super(struct super_block *sb, void *data, int silent)