summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-10-17 05:13:30 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-10-17 05:13:30 +0200
commitf2d74aa6fde21bc122103a5b6b0a56342641327d (patch)
tree2c568adbb0d94ee4b67fbfc5c8e3357a9fe790a4
parentSnap for 5067875 from e6b68dea3a6f529e1381a37f75724b15fe1048cf to qt-release (diff)
parentMerge "uncrypt: fix ioctl direction for F2FS_IOC_GET_PIN_FILE" am: b5564f37be am: c9649eba5c (diff)
downloadandroid_bootable_recovery-f2d74aa6fde21bc122103a5b6b0a56342641327d.tar
android_bootable_recovery-f2d74aa6fde21bc122103a5b6b0a56342641327d.tar.gz
android_bootable_recovery-f2d74aa6fde21bc122103a5b6b0a56342641327d.tar.bz2
android_bootable_recovery-f2d74aa6fde21bc122103a5b6b0a56342641327d.tar.lz
android_bootable_recovery-f2d74aa6fde21bc122103a5b6b0a56342641327d.tar.xz
android_bootable_recovery-f2d74aa6fde21bc122103a5b6b0a56342641327d.tar.zst
android_bootable_recovery-f2d74aa6fde21bc122103a5b6b0a56342641327d.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;