summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/file.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2009-03-30 14:02:43 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-30 12:16:39 -0700
commit3cd6dbe6feb9b32347e6c6f25a27f0cde9d50418 (patch)
tree613a4aaa00bc830b69a97ff2cb3558dc163f957d /fs/reiserfs/file.c
parentfba4ebb5f0f84a6f9989e9591741ddff946de320 (diff)
downloadop-kernel-dev-3cd6dbe6feb9b32347e6c6f25a27f0cde9d50418.zip
op-kernel-dev-3cd6dbe6feb9b32347e6c6f25a27f0cde9d50418.tar.gz
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>
Diffstat (limited to 'fs/reiserfs/file.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud