commit | b5564f37bea9fdaa2517f6ff5f93f4023edc7b0a | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Oct 16 01:03:43 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Oct 16 01:03:43 2018 +0000 |
tree | 2c568adbb0d94ee4b67fbfc5c8e3357a9fe790a4 | |
parent | 06b1a89d72520e77c153782b2b2cff05d0ff6ffa [diff] | |
parent | 29472c7566175090726566e992a5fb60e13b2895 [diff] |
Merge "uncrypt: fix ioctl direction for F2FS_IOC_GET_PIN_FILE"
diff --git a/uncrypt/uncrypt.cpp b/uncrypt/uncrypt.cpp index 95f40c7..cf068ba 100644 --- a/uncrypt/uncrypt.cpp +++ b/uncrypt/uncrypt.cpp
@@ -329,7 +329,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 if (f2fs_fs) { __u32 set = 1;