commit | 6f16bf655c5795586dd2ac96a7c70e0b9a378746 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mark.fasheh@oracle.com> | Tue Mar 20 17:17:54 2007 -0700 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Thu Apr 26 14:40:55 2007 -0700 |
tree | 60421c8d65c48de636e6ebb2b215a924fdd7fcd0 | |
parent | 68e2b740c4b5394680cfefccddbdb486c5866a4c [diff] |
ocfs2: small cleanup of ocfs2_request_delete() There are two checks in there (one for inode newness, one for other mounted nodes) which are unnecessary, so remove them. The DLM will allow the trylock in either case without any messaging overhead. Removing these makes ocfs2_request_delete() a one liner function, so just move the trylock out one level into ocfs2_query_inode_wipe(). Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>