Revert "GFS2: Prevent delete work from occurring on glocks used for create"
Since commit a0e3cc65 ("gfs2: Turn gl_delete into a delayed work"), we're cancelling any pending delete work of an iopen glock before attaching a new inode to that glock in gfs2_create_inode. This means that delete_work_func can no longer be queued or running when attaching the iopen glock to the new inode, and we can revert commit a4923865 ("GFS2: Prevent delete work from occurring on glocks used for create"), which tried to achieve the same but in a racy way. Signed-off-by: NAndreas Gruenbacher <agruenba@redhat.com>
Showing
想要评论请 注册 或 登录