Merge "fix wrong ioctl direction for F2FS_IOC_GET_PIN_FILE" am: 3a7f95af09
am: d305bbc526

Change-Id: I081acbf5462c972af270f9e68926dae1b49a0c8f
diff --git a/secdiscard.cpp b/secdiscard.cpp
index 60834e8..25a0826 100644
--- a/secdiscard.cpp
+++ b/secdiscard.cpp
@@ -73,7 +73,7 @@
 #define F2FS_IOCTL_MAGIC		0xf5
 #endif
 #define F2FS_IOC_SET_PIN_FILE	_IOW(F2FS_IOCTL_MAGIC, 13, __u32)
-#define F2FS_IOC_GET_PIN_FILE	_IOW(F2FS_IOCTL_MAGIC, 14, __u32)
+#define F2FS_IOC_GET_PIN_FILE	_IOR(F2FS_IOCTL_MAGIC, 14, __u32)
 #endif
         android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(
             target.c_str(), O_WRONLY, 0)));