diff options
Diffstat (limited to 'fs/cifs')
-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 |