[PATCH 2/3] Btrfs: procfs-devlist: backport global rcu-string non support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx>
---
 fs/btrfs/procfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/procfs.c b/fs/btrfs/procfs.c
index d16a76b..4aec759 100644
--- a/fs/btrfs/procfs.c
+++ b/fs/btrfs/procfs.c
@@ -1,9 +1,9 @@
 #include <linux/seq_file.h>
 #include <linux/vmalloc.h>
 #include <linux/proc_fs.h>
-#include <linux/rcustring.h>
 #include "ctree.h"
 #include "volumes.h"
+#include "rcu-string.h"
 
 #define BTRFS_PROC_PATH		"fs/btrfs"
 #define BTRFS_PROC_DEVLIST	"devlist"
@@ -67,7 +67,7 @@ again_fs_devs:
 			BTRFS_SEQ_PRINT("\t\tdev_addr:\t%p\n", device);
 			rcu_read_lock();
 			BTRFS_SEQ_PRINT("\t\tdevice:\t\t%s\n",
-				device->name ? rcu_string_dereference(device->name): "(null)");
+				device->name ? rcu_str_deref(device->name): "(null)");
 			rcu_read_unlock();
 			BTRFS_SEQ_PRINT("\t\tdevid:\t\t%llu\n", device->devid);
 			if (device->dev_root) {
-- 
2.0.0.153.g79dcccc

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux