diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-03-21 00:17:54 (GMT) |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-04-26 21:40:55 (GMT) |
commit | 6f16bf655c5795586dd2ac96a7c70e0b9a378746 (patch) | |
tree | 60421c8d65c48de636e6ebb2b215a924fdd7fcd0 /fs/ocfs2/ocfs2_lockid.h | |
parent | 68e2b740c4b5394680cfefccddbdb486c5866a4c (diff) | |
download | linux-fsl-qoriq-6f16bf655c5795586dd2ac96a7c70e0b9a378746.tar.xz |
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>
Diffstat (limited to 'fs/ocfs2/ocfs2_lockid.h')
0 files changed, 0 insertions, 0 deletions