mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
ecryptfs: add bdi backing to mount session
This ensures that dirty data gets flushed properly. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
5163d90076
commit
9df9c8b930
3 changed files with 12 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
|||
#include <linux/scatterlist.h>
|
||||
#include <linux/hash.h>
|
||||
#include <linux/nsproxy.h>
|
||||
#include <linux/backing-dev.h>
|
||||
|
||||
/* Version verification for shared data structures w/ userspace */
|
||||
#define ECRYPTFS_VERSION_MAJOR 0x00
|
||||
|
@ -393,6 +394,7 @@ struct ecryptfs_mount_crypt_stat {
|
|||
struct ecryptfs_sb_info {
|
||||
struct super_block *wsi_sb;
|
||||
struct ecryptfs_mount_crypt_stat mount_crypt_stat;
|
||||
struct backing_dev_info bdi;
|
||||
};
|
||||
|
||||
/* file private data. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue