[PATCH] remove unused o_flags from do_shmat