Jeffle Xu c7ca731557 cachefiles: set default tag name if it's unspecified
fscache_acquire_cache() requires a non-empty name, while 'tag <name>'
command is optional for cachefilesd.

Thus set default tag name if it's unspecified to avoid the regression of
cachefilesd. The logic is the same with that before rewritten.

Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/164251399914.3435901.4761991152407411408.stgit@warthog.procyon.org.uk/ # v1
2022-01-21 21:36:28 +00:00
..
2022-01-12 13:45:12 -08:00
2021-08-19 09:02:55 +09:00
2022-01-12 13:45:12 -08:00
2022-01-12 13:45:12 -08:00
2021-11-09 10:02:51 -08:00
2021-10-25 19:11:50 -07:00
2022-01-12 11:11:34 -08:00
2021-12-03 18:44:06 +01:00
2021-04-12 15:04:29 +02:00
2022-01-12 15:46:11 -08:00
2022-01-12 15:46:11 -08:00
2021-11-01 10:25:27 -07:00
2022-01-12 15:46:11 -08:00
2022-01-12 11:11:34 -08:00
2022-01-12 15:46:11 -08:00
2021-11-03 09:23:25 -07:00
2022-01-11 14:26:55 -08:00
2022-01-12 13:45:12 -08:00
2022-01-11 14:26:55 -08:00
2021-12-15 15:58:40 +01:00
2022-01-10 11:48:37 -08:00
\n
2021-11-06 16:40:48 -07:00
2021-08-19 09:02:55 +09:00
2022-01-12 15:46:11 -08:00
2021-12-17 16:56:35 +09:00
2021-11-17 09:26:09 +01:00
2021-09-09 13:25:49 -07:00
2022-01-12 13:45:12 -08:00
2021-11-17 10:36:35 -05:00
2022-01-12 10:26:52 -08:00
2021-08-31 11:06:32 -07:00
2022-01-07 13:40:39 +00:00
2021-10-19 14:11:39 -04:00
2022-01-11 14:26:55 -08:00
2021-12-09 10:49:56 -08:00
2021-08-10 17:57:22 +02:00