Home
last modified time | relevance | path

Searched hist:"3 cd6dbe6feb9b32347e6c6f25a27f0cde9d50418" (Results 1 – 2 of 2) sorted by relevance

/linux/fs/reiserfs/
H A Dfix_node.cdiff 3cd6dbe6feb9b32347e6c6f25a27f0cde9d50418 Mon Mar 30 20:02:43 CEST 2009 Jeff Mahoney <jeffm@suse.com> reiserfs: cleanup path functions

This patch cleans up some redundancies in the reiserfs tree path code.

decrement_bcount() is essentially the same function as brelse(), so we use
that instead.

decrement_counters_in_path() is exactly the same function as pathrelse(), so
we kill that and use pathrelse() instead.

There's also a bit of cleanup that makes the code a bit more readable.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
H A Dstree.cdiff 3cd6dbe6feb9b32347e6c6f25a27f0cde9d50418 Mon Mar 30 20:02:43 CEST 2009 Jeff Mahoney <jeffm@suse.com> reiserfs: cleanup path functions

This patch cleans up some redundancies in the reiserfs tree path code.

decrement_bcount() is essentially the same function as brelse(), so we use
that instead.

decrement_counters_in_path() is exactly the same function as pathrelse(), so
we kill that and use pathrelse() instead.

There's also a bit of cleanup that makes the code a bit more readable.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>