diff options
author | Steve French <sfrench@us.ibm.com> | 2006-09-28 17:34:06 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-09-28 17:34:06 -0400 |
commit | bf97d28711e2dc4dc947faa6477cd1b36b91a2da (patch) | |
tree | 8ee48c65f574fad0af3fb258cadb48034448f973 /fs/cifs/cifsfs.c | |
parent | a3ab41f10e2f5087e515da358680c88dd61d4832 (diff) |
[CIFS] CIFS support for /proc/<pid>/mountstats part 1
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 51e888fcef2d..7ecfcbf31e55 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -437,6 +437,14 @@ static void cifs_umount_begin(struct vfsmount * vfsmnt, int flags) | |||
437 | return; | 437 | return; |
438 | } | 438 | } |
439 | 439 | ||
440 | #ifdef CONFIG_CIFS_STATS2 | ||
441 | static int cifs_show_stats(struct seq_file *s, struct vfsmount *mnt) | ||
442 | { | ||
443 | /* BB FIXME */ | ||
444 | return 0; | ||
445 | } | ||
446 | #endif | ||
447 | |||
440 | static int cifs_remount(struct super_block *sb, int *flags, char *data) | 448 | static int cifs_remount(struct super_block *sb, int *flags, char *data) |
441 | { | 449 | { |
442 | *flags |= MS_NODIRATIME; | 450 | *flags |= MS_NODIRATIME; |
@@ -456,6 +464,9 @@ static struct super_operations cifs_super_ops = { | |||
456 | .show_options = cifs_show_options, | 464 | .show_options = cifs_show_options, |
457 | .umount_begin = cifs_umount_begin, | 465 | .umount_begin = cifs_umount_begin, |
458 | .remount_fs = cifs_remount, | 466 | .remount_fs = cifs_remount, |
467 | #ifdef CONFIG_CIFS_STATS2 | ||
468 | cifs_show_stats, | ||
469 | #endif | ||
459 | }; | 470 | }; |
460 | 471 | ||
461 | static int | 472 | static int |