Madhuparna Bhowmik
8d1a7aae89
btrfs: annotate device name rcu_string with __rcu
...
This patch fixes the following sparse errors in
fs/btrfs/super.c in function btrfs_show_devname()
fs/btrfs/super.c: error: incompatible types in comparison expression (different address spaces):
fs/btrfs/super.c: struct rcu_string [noderef] <asn:4> *
fs/btrfs/super.c: struct rcu_string *
The error was because of the following line in function btrfs_show_devname():
if (first_dev)
seq_escape(m, rcu_str_deref(first_dev->name), " \t\n\\");
Annotating the btrfs_device::name member with __rcu fixes the sparse
error.
Acked-by: Joel Fernandes (Google) <joel@joelfernandes.org >
Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2020-10-07 12:17:59 +02:00
..
2020-10-07 12:13:25 +02:00
2020-03-23 17:01:51 +01:00
2020-03-23 17:01:51 +01:00
2020-10-07 12:06:55 +02:00
2020-05-25 11:25:35 +02:00
2020-10-07 12:13:19 +02:00
2020-07-27 12:55:42 +02:00
2020-05-25 11:25:35 +02:00
2020-03-23 17:01:55 +01:00
2020-10-07 12:17:59 +02:00
2020-07-27 12:55:21 +02:00
2020-03-23 17:01:39 +01:00
2020-10-07 12:06:55 +02:00
2020-10-07 12:06:55 +02:00
2020-10-07 12:17:59 +02:00
2020-10-07 12:13:25 +02:00
2020-10-07 12:06:52 +02:00
2020-07-27 12:55:36 +02:00
2020-10-07 12:13:18 +02:00
2020-03-23 17:01:53 +01:00
2020-03-23 17:01:55 +01:00
2020-10-07 12:13:15 +02:00
2020-07-07 16:06:28 +02:00
2020-04-20 17:43:42 +02:00
2020-10-07 12:17:59 +02:00
2020-10-07 12:13:25 +02:00
2020-05-25 11:25:37 +02:00
2020-03-23 17:01:42 +01:00
2020-10-07 12:13:25 +02:00
2020-10-07 12:13:25 +02:00
2020-02-12 17:16:46 +01:00
2020-10-07 12:13:25 +02:00
2020-10-07 12:12:16 +02:00
2020-10-07 12:12:19 +02:00
2020-10-07 12:13:22 +02:00
2020-10-07 12:13:23 +02:00
2020-07-27 12:55:21 +02:00
2020-08-27 13:37:54 +02:00
2020-07-27 12:55:36 +02:00
2020-10-07 12:17:59 +02:00
2020-10-07 12:13:22 +02:00
2020-10-07 12:06:57 +02:00
2020-10-07 12:12:16 +02:00
2020-10-07 12:12:17 +02:00
2020-03-23 17:01:54 +01:00
2020-05-25 11:25:19 +02:00
2020-10-07 12:13:22 +02:00
2020-10-07 12:13:22 +02:00
2020-10-07 12:12:20 +02:00
2020-10-07 12:12:20 +02:00
2020-05-25 11:25:37 +02:00
2020-10-07 12:06:50 +02:00
2020-07-27 12:55:37 +02:00
2020-07-27 12:55:44 +02:00
2020-03-23 17:01:53 +01:00
2020-10-07 12:12:22 +02:00
2020-07-27 12:55:43 +02:00
2020-10-07 12:13:22 +02:00
2020-03-23 17:01:54 +01:00
2020-10-07 12:12:16 +02:00
2020-10-07 12:12:13 +02:00
2020-10-07 12:06:55 +02:00
2020-10-07 12:13:23 +02:00
2020-10-07 12:13:17 +02:00
2020-10-07 12:13:19 +02:00
2020-10-07 12:06:52 +02:00
2020-10-07 12:13:23 +02:00
2020-10-07 12:13:19 +02:00
2020-10-07 12:13:19 +02:00
2020-10-07 12:12:21 +02:00
2020-10-07 12:12:16 +02:00
2020-10-07 12:06:57 +02:00
2020-10-07 12:13:23 +02:00
2020-07-27 12:55:28 +02:00
2020-10-07 12:13:19 +02:00
2020-10-07 12:06:56 +02:00
2020-05-25 11:25:36 +02:00
2020-10-07 12:17:59 +02:00
2020-10-07 12:17:59 +02:00