Whamcloud - gitweb
debugfs: fix crash in ea_set argument handling
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Jan 2015 15:58:17 +0000 (10:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Jan 2015 15:58:17 +0000 (10:58 -0500)
commitd0bc2c88245224e5384ac022ac0ce6b9aae03c12
tree42537cda6df3c56cee20c1cf60bdd420de17eccb
parentcac40d06e71f71f7845fe8fef81eab9199d3f433
debugfs: fix crash in ea_set argument handling

Fix an incorrect check in ea_set that would crash debugfs if someone
runs 'ea_set / foo.bar' (i.e. with no value argument)

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/xattrs.c