A latch mechanism includes a bracket (30) for receiving a data storage
device (10) therein, a latch member (30), and a locking member (20) fixed
to a rear end of the data storage device. The bracket includes a pair of
hooks (35), and a pair of fixing tabs (37) extending from a bottom wall
(31) thereof. The fixing tabs each define a pivoting hole (371) therein.
The locking member includes a pair of cutouts (24) for engaging with the
hooks, and a folded flange (26). The latch member includes a base wall
(41), and a pair of sidewalls (42) extending from an end of the base
wall. The sidewalls include a pair of shafts (422) engaging in the
pivoting holes of the bracket. The base wall includes a block engaging
with the folded flange of the locking member, and a pair of resilient
arms (43) engagingly abutting against the bottom wall of the bracket.