Ian Kent
936ad90944
cifs - check S_AUTOMOUNT in revalidate
...
When revalidating a dentry, if the inode wasn't known to be a dfs
entry when the dentry was instantiated, such as when created via
->readdir(), the DCACHE_NEED_AUTOMOUNT flag needs to be set on the
dentry in ->d_revalidate().
The false return from cifs_d_revalidate(), due to the inode now
being marked with the S_AUTOMOUNT flag, might not invalidate the
dentry if there is a concurrent unlazy path walk. This is because
the dentry reference count will be at least 2 in this case causing
d_invalidate() to return EBUSY. So the asumption that the dentry
will be discarded then correctly instantiated via ->lookup() might
not hold.
Signed-off-by: Ian Kent <raven@themaw.net>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Cc: Steve French <smfrench@gmail.com>
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <sfrench@us.ibm.com>
2012-05-03 13:49:47 -05:00
..
2012-03-28 09:58:38 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-03-21 13:36:41 -07:00
2012-04-29 13:30:08 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-04-28 09:30:07 -07:00
2012-03-20 21:29:41 -04:00
2012-03-28 10:01:29 -07:00
2012-05-03 13:49:47 -05:00
2012-03-28 18:30:03 +01:00
2012-03-20 21:29:48 -04:00
2012-03-21 13:36:41 -07:00
2012-04-05 15:25:50 -07:00
2012-03-21 13:36:41 -07:00
2012-04-23 18:22:42 -07:00
2012-03-20 21:29:49 -04:00
2012-03-20 21:29:35 -04:00
2012-03-28 20:04:27 -07:00
2011-03-15 02:21:44 -04:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00
2012-04-23 19:52:00 -07:00
2012-03-23 16:58:40 -07:00
2012-03-20 21:29:35 -04:00
2011-07-21 10:59:16 -07:00
2012-04-18 17:29:05 -07:00
2012-04-24 13:26:50 +01:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:53 -04:00
2012-03-27 18:29:53 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-04-25 21:26:34 -07:00
2012-03-20 21:29:35 -04:00
2012-03-21 10:15:51 -07:00
2012-04-23 21:43:41 -04:00
2012-03-30 17:31:56 -07:00
2012-03-20 21:29:48 -04:00
2012-04-13 13:50:52 -04:00
2012-03-21 13:36:41 -07:00
2012-03-21 13:36:41 -07:00
2012-03-28 18:30:03 +01:00
2012-04-21 13:01:00 -04:00
2011-03-31 11:26:23 -03:00
2012-04-30 12:28:48 -07:00
2012-03-21 13:36:41 -07:00
2011-11-26 19:58:47 -08:00
2012-03-23 16:58:31 -07:00
2012-03-21 13:36:41 -07:00
2012-04-13 12:31:43 -04:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-04-25 21:26:34 -07:00
2012-04-05 15:30:34 -07:00
2012-03-20 21:29:52 -04:00
2012-03-20 21:29:38 -04:00
2012-03-28 10:00:14 -07:00
2012-03-20 21:29:37 -04:00
2012-03-28 15:58:21 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 18:05:54 -07:00
2012-04-10 14:48:51 -07:00
2012-03-20 21:29:35 -04:00
2012-03-23 09:27:40 -07:00
2012-03-28 10:00:14 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 15:58:21 -07:00
2012-04-21 01:58:20 -04:00
2012-03-20 21:29:45 -04:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-04-20 17:29:13 -07:00
2012-04-20 17:29:13 -07:00
2012-04-20 17:29:13 -07:00
2012-03-20 21:29:46 -04:00
2012-04-20 17:29:13 -07:00
2012-03-23 16:58:31 -07:00
2012-03-20 21:29:46 -04:00
2012-04-20 17:29:13 -07:00
2012-03-20 21:48:21 +08:00
2012-02-28 19:31:58 -05:00
2012-03-23 16:58:31 -07:00
2012-04-25 21:26:33 -07:00
2011-12-13 11:18:17 -08:00
2012-03-24 10:24:31 -07:00
2012-03-29 18:12:23 -07:00
2012-03-28 09:54:34 -07:00
2012-02-28 19:31:58 -05:00
2012-02-23 15:56:21 -08:00
2011-05-25 08:39:26 -07:00
2012-02-28 19:31:58 -05:00
2012-04-25 21:26:33 -07:00
2012-04-04 10:04:42 -07:00
2012-02-19 10:30:52 -08:00
2012-01-06 23:16:53 -05:00
2011-03-21 00:16:09 -04:00
2012-03-20 21:29:32 -04:00
2012-03-29 18:12:23 -07:00
2012-01-03 22:52:39 -05:00
2012-03-24 10:24:31 -07:00
2012-03-28 10:07:27 -07:00
2011-08-01 02:10:06 -04:00
2012-03-20 21:29:51 -04:00
2012-01-06 23:20:12 -05:00
2012-02-28 19:31:58 -05:00
2012-02-07 07:51:30 +01:00
2012-03-21 13:36:41 -07:00
2012-01-10 16:30:51 -08:00
2012-04-09 01:39:22 -04:00
2012-04-01 13:54:27 -05:00
2012-03-20 21:29:38 -04:00
2011-05-25 08:39:26 -07:00
2012-01-06 23:20:12 -05:00
2012-02-28 19:31:58 -05:00
2012-04-06 13:54:56 -07:00
2012-01-08 13:21:22 -08:00
2012-02-19 10:30:52 -08:00
2012-04-29 13:12:42 -07:00
2012-01-03 22:57:11 -05:00
2012-01-03 22:57:11 -05:00
2012-02-28 19:31:58 -05:00
2012-01-06 23:19:54 -05:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-03-29 18:12:23 -07:00
2012-03-24 10:24:31 -07:00
2012-02-24 11:42:50 -08:00
2012-04-05 19:04:27 -04:00
2012-02-28 19:31:58 -05:00
2012-03-24 10:24:31 -07:00
2012-02-28 19:31:58 -05:00
2012-03-24 10:24:31 -07:00
2012-02-28 19:31:58 -05:00
2011-06-14 11:46:14 +02:00
2011-03-23 19:47:13 -07:00
2012-02-28 19:31:58 -05:00
2012-04-05 15:25:50 -07:00