aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/super.c
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>2009-02-02 14:40:55 -0500
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2009-02-02 14:40:55 -0500
commit8db0c5d5ef3ab99fe9e5151872b75f45c4282e3c (patch)
treeda9759151e00221c58cdd9f4de893c0b08753670 /fs/jfs/super.c
parent1ad53a98c927a9b5b1b57288ac0edec562fbcf8d (diff)
parent45c82b5a770be66845687a7d027c8b52946d59af (diff)
Merge branch 'master' of /home/shaggy/git/linus-clean/
Diffstat (limited to 'fs/jfs/super.c')
-rw-r--r--fs/jfs/super.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/jfs/super.c b/fs/jfs/super.c
index 59e07c10319d..6f21adf9479a 100644
--- a/fs/jfs/super.c
+++ b/fs/jfs/super.c
@@ -547,7 +547,7 @@ out_kfree:
547 return ret; 547 return ret;
548} 548}
549 549
550static void jfs_write_super_lockfs(struct super_block *sb) 550static int jfs_freeze(struct super_block *sb)
551{ 551{
552 struct jfs_sb_info *sbi = JFS_SBI(sb); 552 struct jfs_sb_info *sbi = JFS_SBI(sb);
553 struct jfs_log *log = sbi->log; 553 struct jfs_log *log = sbi->log;
@@ -557,9 +557,10 @@ static void jfs_write_super_lockfs(struct super_block *sb)
557 lmLogShutdown(log); 557 lmLogShutdown(log);
558 updateSuper(sb, FM_CLEAN); 558 updateSuper(sb, FM_CLEAN);
559 } 559 }
560 return 0;
560} 561}
561 562
562static void jfs_unlockfs(struct super_block *sb) 563static int jfs_unfreeze(struct super_block *sb)
563{ 564{
564 struct jfs_sb_info *sbi = JFS_SBI(sb); 565 struct jfs_sb_info *sbi = JFS_SBI(sb);
565 struct jfs_log *log = sbi->log; 566 struct jfs_log *log = sbi->log;
@@ -572,6 +573,7 @@ static void jfs_unlockfs(struct super_block *sb)
572 else 573 else
573 txResume(sb); 574 txResume(sb);
574 } 575 }
576 return 0;
575} 577}
576 578
577static int jfs_get_sb(struct file_system_type *fs_type, 579static int jfs_get_sb(struct file_system_type *fs_type,
@@ -739,8 +741,8 @@ static const struct super_operations jfs_super_operations = {
739 .delete_inode = jfs_delete_inode, 741 .delete_inode = jfs_delete_inode,
740 .put_super = jfs_put_super, 742 .put_super = jfs_put_super,
741 .sync_fs = jfs_sync_fs, 743 .sync_fs = jfs_sync_fs,
742 .write_super_lockfs = jfs_write_super_lockfs, 744 .freeze_fs = jfs_freeze,
743 .unlockfs = jfs_unlockfs, 745 .unfreeze_fs = jfs_unfreeze,
744 .statfs = jfs_statfs, 746 .statfs = jfs_statfs,
745 .remount_fs = jfs_remount, 747 .remount_fs = jfs_remount,
746 .show_options = jfs_show_options, 748 .show_options = jfs_show_options,