Hello.. > I am trying to zero data blocks whenever an unlink is invoked as part > of a secure delete filesystem. Sorry, spoke too soon. set_fs does indeed change segment limit. Sorry for false hint. But anyway, when did it happen? on the 1st iteration (that iterates over overwrite_num)? OK, maybe Magic SysRq can find out where it stucks.... Hang usually means "locked" or "race" somewhere. regards, Mulyadi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/