From 7c9bc77c146d6b516e1389b16c3b5bb8ef0fa364 Mon Sep 17 00:00:00 2001 From: Jeff Moyer Date: Thu, 1 May 2008 04:35:09 -0700 Subject: [PATCH] --- yaml --- r: 95679 b: refs/heads/master c: 9d2de6ad2a78bb8b60bf7a54e6043dca44e9a801 h: refs/heads/master i: 95677: ce65f8d26da1f453c411797d10d41606c62a35d3 95675: 89b9b0c8da4a1294d6759992ce7752f5570589c6 95671: 7327524a6785b8c357e8a3970dbef5d2bbc4e659 95663: 9d218c6930a93227d0d483ea85736eb28cadb93c 95647: 85f17b262c0fa8d2ff4eb8e0aa3f7e76e6562d98 95615: 704392144f2a257f0385bb3c61936bc425e836a8 v: v3 --- [refs] | 2 +- trunk/fs/autofs4/root.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index bf85be4f728c..6534b7756214 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 033790449ba9c4dcf8478a87693d33df625c23b5 +refs/heads/master: 9d2de6ad2a78bb8b60bf7a54e6043dca44e9a801 diff --git a/trunk/fs/autofs4/root.c b/trunk/fs/autofs4/root.c index 0533d37c73ae..6e250030a690 100644 --- a/trunk/fs/autofs4/root.c +++ b/trunk/fs/autofs4/root.c @@ -243,7 +243,7 @@ static int try_to_fill_dentry(struct dentry *dentry, int flags) struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); struct autofs_info *ino = autofs4_dentry_ino(dentry); struct dentry *new; - int status = 0; + int status; /* Block on any pending expiry here; invalidate the dentry 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) } } - return status; + return 0; } /* For autofs direct mounts the follow link triggers the mount */