diff options
| -rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 9d45c8a3414f..a7ec92c051f5 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
| @@ -3273,7 +3273,7 @@ static bool fs_fully_visible(struct file_system_type *type, int *new_mnt_flags) | |||
| 3273 | list_for_each_entry(child, &mnt->mnt_mounts, mnt_child) { | 3273 | list_for_each_entry(child, &mnt->mnt_mounts, mnt_child) { |
| 3274 | struct inode *inode = child->mnt_mountpoint->d_inode; | 3274 | struct inode *inode = child->mnt_mountpoint->d_inode; |
| 3275 | /* Only worry about locked mounts */ | 3275 | /* Only worry about locked mounts */ |
| 3276 | if (!(mnt_flags & MNT_LOCKED)) | 3276 | if (!(child->mnt.mnt_flags & MNT_LOCKED)) |
| 3277 | continue; | 3277 | continue; |
| 3278 | /* Is the directory permanetly empty? */ | 3278 | /* Is the directory permanetly empty? */ |
| 3279 | if (!is_empty_dir_inode(inode)) | 3279 | if (!is_empty_dir_inode(inode)) |
