diff options
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2009-02-02 14:40:55 -0500 |
---|---|---|
committer | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2009-02-02 14:40:55 -0500 |
commit | 8db0c5d5ef3ab99fe9e5151872b75f45c4282e3c (patch) | |
tree | da9759151e00221c58cdd9f4de893c0b08753670 /fs/jfs | |
parent | 1ad53a98c927a9b5b1b57288ac0edec562fbcf8d (diff) | |
parent | 45c82b5a770be66845687a7d027c8b52946d59af (diff) |
Merge branch 'master' of /home/shaggy/git/linus-clean/
Diffstat (limited to 'fs/jfs')
-rw-r--r-- | fs/jfs/Kconfig | 49 | ||||
-rw-r--r-- | fs/jfs/super.c | 10 |
2 files changed, 55 insertions, 4 deletions
diff --git a/fs/jfs/Kconfig b/fs/jfs/Kconfig new file mode 100644 index 000000000000..9ff619a6f9cc --- /dev/null +++ b/fs/jfs/Kconfig | |||
@@ -0,0 +1,49 @@ | |||
1 | config JFS_FS | ||
2 | tristate "JFS filesystem support" | ||
3 | select NLS | ||
4 | help | ||
5 | This is a port of IBM's Journaled Filesystem . More information is | ||
6 | available in the file <file:Documentation/filesystems/jfs.txt>. | ||
7 | |||
8 | If you do not intend to use the JFS filesystem, say N. | ||
9 | |||
10 | config JFS_POSIX_ACL | ||
11 | bool "JFS POSIX Access Control Lists" | ||
12 | depends on JFS_FS | ||
13 | select FS_POSIX_ACL | ||
14 | help | ||
15 | Posix Access Control Lists (ACLs) support permissions for users and | ||
16 | groups beyond the owner/group/world scheme. | ||
17 | |||
18 | To learn more about Access Control Lists, visit the Posix ACLs for | ||
19 | Linux website <http://acl.bestbits.at/>. | ||
20 | |||
21 | If you don't know what Access Control Lists are, say N | ||
22 | |||
23 | config JFS_SECURITY | ||
24 | bool "JFS Security Labels" | ||
25 | depends on JFS_FS | ||
26 | help | ||
27 | Security labels support alternative access control models | ||
28 | implemented by security modules like SELinux. This option | ||
29 | enables an extended attribute handler for file security | ||
30 | labels in the jfs filesystem. | ||
31 | |||
32 | If you are not using a security module that requires using | ||
33 | extended attributes for file security labels, say N. | ||
34 | |||
35 | config JFS_DEBUG | ||
36 | bool "JFS debugging" | ||
37 | depends on JFS_FS | ||
38 | help | ||
39 | If you are experiencing any problems with the JFS filesystem, say | ||
40 | Y here. This will result in additional debugging messages to be | ||
41 | written to the system log. Under normal circumstances, this | ||
42 | results in very little overhead. | ||
43 | |||
44 | config JFS_STATISTICS | ||
45 | bool "JFS statistics" | ||
46 | depends on JFS_FS | ||
47 | help | ||
48 | Enabling this option will cause statistics from the JFS file system | ||
49 | to be made available to the user in the /proc/fs/jfs/ directory. | ||
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 | ||
550 | static void jfs_write_super_lockfs(struct super_block *sb) | 550 | static 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 | ||
562 | static void jfs_unlockfs(struct super_block *sb) | 563 | static 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 | ||
577 | static int jfs_get_sb(struct file_system_type *fs_type, | 579 | static 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, |