mirror of
				https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
				synced 2025-11-04 08:34:47 +10:00 
			
		
		
		
	ubifs: Define UBIFS crypto context xattr
Like ext4 UBIFS will store the crypto context in a xattr attribute. Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
		
							parent
							
								
									ade46c3a60
								
							
						
					
					
						commit
						6a5e98ab7d
					
				@ -300,6 +300,13 @@ enum {
 | 
			
		||||
/* The largest UBIFS node */
 | 
			
		||||
#define UBIFS_MAX_NODE_SZ UBIFS_MAX_INO_NODE_SZ
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * xattr name of UBIFS encryption context, we don't use a prefix
 | 
			
		||||
 * nor a long name to not waste space on the flash.
 | 
			
		||||
 */
 | 
			
		||||
#define UBIFS_XATTR_NAME_ENCRYPTION_CONTEXT "c"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * On-flash inode flags.
 | 
			
		||||
 *
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user