diff options
| -rw-r--r-- | fs/autofs4/root.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index 0533d37c73ae..6e250030a690 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c | |||
| @@ -243,7 +243,7 @@ static int try_to_fill_dentry(struct dentry *dentry, int flags) | |||
| 243 | struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); | 243 | struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); |
| 244 | struct autofs_info *ino = autofs4_dentry_ino(dentry); | 244 | struct autofs_info *ino = autofs4_dentry_ino(dentry); |
| 245 | struct dentry *new; | 245 | struct dentry *new; |
| 246 | int status = 0; | 246 | int status; |
| 247 | 247 | ||
| 248 | /* Block on any pending expiry here; invalidate the dentry | 248 | /* Block on any pending expiry here; invalidate the dentry |
| 249 | when expiration is done to trigger mount request with a new | 249 | when expiration is done to trigger mount request with a new |
| @@ -340,7 +340,7 @@ static int try_to_fill_dentry(struct dentry *dentry, int flags) | |||
| 340 | } | 340 | } |
| 341 | } | 341 | } |
| 342 | 342 | ||
| 343 | return status; | 343 | return 0; |
| 344 | } | 344 | } |
| 345 | 345 | ||
| 346 | /* For autofs direct mounts the follow link triggers the mount */ | 346 | /* For autofs direct mounts the follow link triggers the mount */ |
