diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-11 19:18:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-11 19:18:58 -0400 |
commit | 3864e8ccbba1dcdea87398ab80fdc8ae0fab7c45 (patch) | |
tree | 7f9cce370f5e01b0c3a5e17a230e3e9207054e7c /arch | |
parent | 75ecb1a4d148b274aa9acd1d6ccaca0a4654784e (diff) | |
parent | cbea66d9788a344e16e161f22a6e0c4deef2c0ed (diff) |
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
[S390] monwriter: Serialization bug for multithreaded applications.
[S390] vmur: diag14 only works with buffers below 2GB
[S390] vmur: add "top of queue" sanity check for reader open
[S390] vmur: reject open on z/VM reader files with status HOLD
[S390] vmur: use DECLARE_COMPLETION_ONSTACK to keep lockdep happy
[S390] vmur: allocate single record buffers instead of one big data buffer
[S390] remove DEFAULT_MIGRATION_COST
[S390] qdio: make sure data structures are correctly aligned.
[S390] hypfs: implement show_options
[S390] cio: avoid memory leak on error in css_alloc_subchannel().
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/Kconfig | 4 | ||||
-rw-r--r-- | arch/s390/hypfs/inode.c | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 098c62c29f9c..b71132166f60 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -109,10 +109,6 @@ config HOTPLUG_CPU | |||
109 | can be controlled through /sys/devices/system/cpu/cpu#. | 109 | can be controlled through /sys/devices/system/cpu/cpu#. |
110 | Say N if you want to disable CPU hotplug. | 110 | Say N if you want to disable CPU hotplug. |
111 | 111 | ||
112 | config DEFAULT_MIGRATION_COST | ||
113 | int | ||
114 | default "1000000" | ||
115 | |||
116 | config MATHEMU | 112 | config MATHEMU |
117 | bool "IEEE FPU emulation" | 113 | bool "IEEE FPU emulation" |
118 | depends on MARCH_G5 | 114 | depends on MARCH_G5 |
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index 8e1ea1c40128..ad4ca75c0f04 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c | |||
@@ -17,6 +17,8 @@ | |||
17 | #include <linux/parser.h> | 17 | #include <linux/parser.h> |
18 | #include <linux/sysfs.h> | 18 | #include <linux/sysfs.h> |
19 | #include <linux/module.h> | 19 | #include <linux/module.h> |
20 | #include <linux/seq_file.h> | ||
21 | #include <linux/mount.h> | ||
20 | #include <asm/ebcdic.h> | 22 | #include <asm/ebcdic.h> |
21 | #include "hypfs.h" | 23 | #include "hypfs.h" |
22 | 24 | ||
@@ -256,6 +258,15 @@ static int hypfs_parse_options(char *options, struct super_block *sb) | |||
256 | return 0; | 258 | return 0; |
257 | } | 259 | } |
258 | 260 | ||
261 | static int hypfs_show_options(struct seq_file *s, struct vfsmount *mnt) | ||
262 | { | ||
263 | struct hypfs_sb_info *hypfs_info = mnt->mnt_sb->s_fs_info; | ||
264 | |||
265 | seq_printf(s, ",uid=%u", hypfs_info->uid); | ||
266 | seq_printf(s, ",gid=%u", hypfs_info->gid); | ||
267 | return 0; | ||
268 | } | ||
269 | |||
259 | static int hypfs_fill_super(struct super_block *sb, void *data, int silent) | 270 | static int hypfs_fill_super(struct super_block *sb, void *data, int silent) |
260 | { | 271 | { |
261 | struct inode *root_inode; | 272 | struct inode *root_inode; |
@@ -459,6 +470,7 @@ static struct file_system_type hypfs_type = { | |||
459 | static struct super_operations hypfs_s_ops = { | 470 | static struct super_operations hypfs_s_ops = { |
460 | .statfs = simple_statfs, | 471 | .statfs = simple_statfs, |
461 | .drop_inode = hypfs_drop_inode, | 472 | .drop_inode = hypfs_drop_inode, |
473 | .show_options = hypfs_show_options, | ||
462 | }; | 474 | }; |
463 | 475 | ||
464 | static decl_subsys(s390, NULL, NULL); | 476 | static decl_subsys(s390, NULL, NULL); |