summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-10-16 03:03:43 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-16 03:03:43 +0200
commitb5564f37bea9fdaa2517f6ff5f93f4023edc7b0a (patch)
tree2c568adbb0d94ee4b67fbfc5c8e3357a9fe790a4
parentMerge "Implement the graphic menus" (diff)
parentuncrypt: fix ioctl direction for F2FS_IOC_GET_PIN_FILE (diff)
downloadandroid_bootable_recovery-b5564f37bea9fdaa2517f6ff5f93f4023edc7b0a.tar
android_bootable_recovery-b5564f37bea9fdaa2517f6ff5f93f4023edc7b0a.tar.gz
android_bootable_recovery-b5564f37bea9fdaa2517f6ff5f93f4023edc7b0a.tar.bz2
android_bootable_recovery-b5564f37bea9fdaa2517f6ff5f93f4023edc7b0a.tar.lz
android_bootable_recovery-b5564f37bea9fdaa2517f6ff5f93f4023edc7b0a.tar.xz
android_bootable_recovery-b5564f37bea9fdaa2517f6ff5f93f4023edc7b0a.tar.zst
android_bootable_recovery-b5564f37bea9fdaa2517f6ff5f93f4023edc7b0a.zip
-rw-r--r--uncrypt/uncrypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/uncrypt/uncrypt.cpp b/uncrypt/uncrypt.cpp
index 95f40c71f..cf068ba81 100644
--- a/uncrypt/uncrypt.cpp
+++ b/uncrypt/uncrypt.cpp
@@ -329,7 +329,7 @@ static int produce_block_map(const char* path, const char* map_file, const char*
#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
if (f2fs_fs) {
__u32 set = 1;