Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
7e1295d9
Commit
7e1295d9
authored
Jan 16, 2010
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CIFS shouldn't make mountpoints shrinkable
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
7b43a79f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fs/cifs/cifs_dfs_ref.c
fs/cifs/cifs_dfs_ref.c
+1
-2
No files found.
fs/cifs/cifs_dfs_ref.c
View file @
7e1295d9
...
@@ -269,7 +269,7 @@ static int add_mount_helper(struct vfsmount *newmnt, struct nameidata *nd,
...
@@ -269,7 +269,7 @@ static int add_mount_helper(struct vfsmount *newmnt, struct nameidata *nd,
int
err
;
int
err
;
mntget
(
newmnt
);
mntget
(
newmnt
);
err
=
do_add_mount
(
newmnt
,
&
nd
->
path
,
nd
->
path
.
mnt
->
mnt_flags
,
mntlist
);
err
=
do_add_mount
(
newmnt
,
&
nd
->
path
,
nd
->
path
.
mnt
->
mnt_flags
|
MNT_SHRINKABLE
,
mntlist
);
switch
(
err
)
{
switch
(
err
)
{
case
0
:
case
0
:
path_put
(
&
nd
->
path
);
path_put
(
&
nd
->
path
);
...
@@ -371,7 +371,6 @@ cifs_dfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd)
...
@@ -371,7 +371,6 @@ cifs_dfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd)
if
(
IS_ERR
(
mnt
))
if
(
IS_ERR
(
mnt
))
goto
out_err
;
goto
out_err
;
nd
->
path
.
mnt
->
mnt_flags
|=
MNT_SHRINKABLE
;
rc
=
add_mount_helper
(
mnt
,
nd
,
&
cifs_dfs_automount_list
);
rc
=
add_mount_helper
(
mnt
,
nd
,
&
cifs_dfs_automount_list
);
out:
out:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment