diff options
Diffstat (limited to 'fs/nfs/namespace.c')
-rw-r--r-- | fs/nfs/namespace.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c index 74aaf3963c10..bfcb933e5755 100644 --- a/fs/nfs/namespace.c +++ b/fs/nfs/namespace.c | |||
@@ -176,10 +176,7 @@ out_err: | |||
176 | path_put(&nd->path); | 176 | path_put(&nd->path); |
177 | goto out; | 177 | goto out; |
178 | out_follow: | 178 | out_follow: |
179 | while (d_mountpoint(nd->path.dentry) && | 179 | err = follow_down(&nd->path, false); |
180 | follow_down(&nd->path)) | ||
181 | ; | ||
182 | err = 0; | ||
183 | goto out; | 180 | goto out; |
184 | } | 181 | } |
185 | 182 | ||