diff options
| author | Kinglong Mee <kinglongmee@gmail.com> | 2018-02-01 10:13:07 +0800 | 
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2018-02-12 21:34:46 +0000 | 
| commit | 248152767b0599986bbb6bb35fc27197f6be6964 (patch) | |
| tree | f18550ce89d0786cc21dca474d187d45a49017fb /libglusterfs/src/generator.py | |
| parent | 09943beb499617212f2985ca8ea9ecd1ed1b470e (diff) | |
gfapi: return pre/post attributes from glfs_ftruncate
Updates: #389
Change-Id: I8faea0828921fb17f05f7321c3cb01747373f21e
Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Diffstat (limited to 'libglusterfs/src/generator.py')
| -rwxr-xr-x | libglusterfs/src/generator.py | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/generator.py b/libglusterfs/src/generator.py index e565438bfeb..c9311ea3856 100755 --- a/libglusterfs/src/generator.py +++ b/libglusterfs/src/generator.py @@ -303,6 +303,8 @@ ops['access'] = (  ops['ftruncate'] = (  	('fop-arg',	'fd',			'fd_t *',				'fd'),  	('fop-arg',	'offset',		'off_t',				'offset'), +	('extra',	'preop',		'struct iatt',		'&preop'), +	('extra',	'postop',		'struct iatt',		'&postop'),  	('fop-arg',	'xdata',		'dict_t *',				'xdata'),  	('cbk-arg',	'prebuf',		'struct iatt *'),  	('cbk-arg',	'postbuf',		'struct iatt *'),  | 
