diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsfs.c | 4 | ||||
-rw-r--r-- | fs/cifs/dir.c | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index fa6724562a41..f219dccbe15a 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -436,6 +436,10 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m) | |||
436 | seq_printf(s, ",mfsymlinks"); | 436 | seq_printf(s, ",mfsymlinks"); |
437 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE) | 437 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE) |
438 | seq_printf(s, ",fsc"); | 438 | seq_printf(s, ",fsc"); |
439 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOSSYNC) | ||
440 | seq_printf(s, ",nostrictsync"); | ||
441 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) | ||
442 | seq_printf(s, ",noperm"); | ||
439 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) | 443 | if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) |
440 | seq_printf(s, ",strictcache"); | 444 | seq_printf(s, ",strictcache"); |
441 | 445 | ||
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index 0c8098d54d2b..d7eeb9d3ed6f 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c | |||
@@ -648,8 +648,16 @@ cifs_d_revalidate(struct dentry *direntry, struct nameidata *nd) | |||
648 | if (direntry->d_inode) { | 648 | if (direntry->d_inode) { |
649 | if (cifs_revalidate_dentry(direntry)) | 649 | if (cifs_revalidate_dentry(direntry)) |
650 | return 0; | 650 | return 0; |
651 | else | 651 | else { |
652 | /* | ||
653 | * Forcibly invalidate automounting directory inodes | ||
654 | * (remote DFS directories) so to have them | ||
655 | * instantiated again for automount | ||
656 | */ | ||
657 | if (IS_AUTOMOUNT(direntry->d_inode)) | ||
658 | return 0; | ||
652 | return 1; | 659 | return 1; |
660 | } | ||
653 | } | 661 | } |
654 | 662 | ||
655 | /* | 663 | /* |