projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
f2fs crypto: activate encryption support for fs APIs
[deliverable/linux.git]
/
fs
/
f2fs
/
data.c
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index 842fcdd9d22672b5eac3bff3eb1c097a66ad889b..473b4d41c0c87fb5e8d34d2edfb2da763da66c14 100644
(file)
--- a/
fs/f2fs/data.c
+++ b/
fs/f2fs/data.c
@@
-1982,6
+1982,9
@@
static ssize_t f2fs_direct_IO(struct kiocb *iocb, struct iov_iter *iter,
return err;
}
+ if (f2fs_encrypted_inode(inode) && S_ISREG(inode->i_mode))
+ return 0;
+
if (check_direct_IO(inode, iter, offset))
return 0;
This page took
0.029005 seconds
and
5
git commands to generate.