Whamcloud - gitweb
debugfs: fix set_inode_field block[IND|DIND|TIND]
authorTheodore Ts'o <tytso@mit.edu>
Tue, 19 Aug 2014 12:27:59 +0000 (08:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 19 Aug 2014 12:27:59 +0000 (08:27 -0400)
commit59a591f6b50e88100f22666d3ce28087a1ff24f0
tree6f83e5174e81d2bc3b7907955c863e36f998b04d
parentc47cd4f28768bd3768c1074ac6b9274fcfddd3cd
debugfs: fix set_inode_field block[IND|DIND|TIND]

After we determine that we can't parse the array value as an integer,
we need to restore the square brackets to the field name, so that we
can find a match with block[IND], block[DIND], and block[TIND] in the
inode field table.

Reported-by: Jun He <jhe@cs.wisc.edu>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/set_fields.c