From: Tomohiro Kusumi Date: Sun, 23 Aug 2015 11:12:49 +0000 (+0900) Subject: sys/vfs/hammer: Fix wrong comment X-Git-Tag: v4.5.0~735 X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff_plain/d34bdd3119f4fcbc439c45acc6b7bc6346479b32 sys/vfs/hammer: Fix wrong comment It doesn't return EDEADLK. --- diff --git a/sys/vfs/hammer/hammer_cursor.c b/sys/vfs/hammer/hammer_cursor.c index 70ae9e4ee8..5988efb213 100644 --- a/sys/vfs/hammer/hammer_cursor.c +++ b/sys/vfs/hammer/hammer_cursor.c @@ -359,8 +359,7 @@ hammer_cursor_upgrade_node(hammer_cursor_t cursor) } /* - * Downgrade cursor->node and cursor->parent to shared locks. This - * function can return EDEADLK. + * Downgrade cursor->node and cursor->parent to shared locks. */ void hammer_cursor_downgrade(hammer_cursor_t cursor)