diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-09-24 11:48:04 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 15:41:59 -0400 |
commit | 2b1f55b0f0d0d1a66470ef4ea2696cd5dd741a12 (patch) | |
tree | 980019fac9b0891e682bc7d9a8c8a58284b467fc /fs/btrfs/super.c | |
parent | 9b49c9b9f93e148815f2544d0c91f43b6d72eea9 (diff) |
Remove Btrfs compat code for older kernels
Btrfs had compatibility code for kernels back to 2.6.18. These have
been removed, and will be maintained in a separate backport
git tree from now on.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index f7b3eac7ac6d..8399d6d05d63 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -349,10 +349,7 @@ static int btrfs_fill_super(struct super_block * sb, | |||
349 | 349 | ||
350 | sb->s_root = root_dentry; | 350 | sb->s_root = root_dentry; |
351 | 351 | ||
352 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) | ||
353 | save_mount_options(sb, data); | 352 | save_mount_options(sb, data); |
354 | #endif | ||
355 | |||
356 | return 0; | 353 | return 0; |
357 | 354 | ||
358 | fail_close: | 355 | fail_close: |
@@ -566,11 +563,7 @@ static struct super_operations btrfs_super_ops = { | |||
566 | .put_super = btrfs_put_super, | 563 | .put_super = btrfs_put_super, |
567 | .write_super = btrfs_write_super, | 564 | .write_super = btrfs_write_super, |
568 | .sync_fs = btrfs_sync_fs, | 565 | .sync_fs = btrfs_sync_fs, |
569 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) | ||
570 | .read_inode = btrfs_read_locked_inode, | ||
571 | #else | ||
572 | .show_options = generic_show_options, | 566 | .show_options = generic_show_options, |
573 | #endif | ||
574 | .write_inode = btrfs_write_inode, | 567 | .write_inode = btrfs_write_inode, |
575 | .dirty_inode = btrfs_dirty_inode, | 568 | .dirty_inode = btrfs_dirty_inode, |
576 | .alloc_inode = btrfs_alloc_inode, | 569 | .alloc_inode = btrfs_alloc_inode, |