aboutsummaryrefslogtreecommitdiff
path: root/include/linux/node.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2015-07-17 11:16:47 -0400
committerMister Oyster <oysterized@gmail.com>2017-05-29 03:52:05 +0200
commitea26e1d8206105930ed116fbc7f06dcf76d15c8d (patch)
treebc0304227ed782163c4f10c673b2691c418f878c /include/linux/node.h
parent366dc431898fc3b3ceb9b75ab769a6621263cfb0 (diff)
ext4 crypto: use a jbd2 transaction when adding a crypto policy
Start a jbd2 transaction, and mark the inode dirty on the inode under that transaction after setting the encrypt flag. Otherwise if the directory isn't modified after setting the crypto policy, the encrypted flag might not survive the inode getting pushed out from memory, or the the file system getting unmounted and remounted. Change-Id: I5868e0531881922d8a5e68fa88b6cf2bb1675b99 Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Theodore Ts'o <tytso@google.com>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions