On Mon, Nov 02, 2020 at 08:15:36PM -0700, Andreas Dilger wrote: > On Nov 2, 2020, at 7:29 PM, Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx> wrote: > > > > It takes xattr_sem to check inline data again but without unlock it > > in case not have. So unlock it before return. > > > > Fixes: aef1c8513c1f ("ext4: let ext4_truncate handle inline data correctly") > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > > Cc: Tao Ma <boyu.mt@xxxxxxxxxx> > > Signed-off-by: Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx> > > Reviewed-by: Andreas Dilger <adilger@xxxxxxxxx> Thanks, applied. - Ted