]> arthur.barton.de Git - bup.git/commit
Don't call _mksubs() in VFS Node nlink()
authorRob Browning <rlb@defaultvalue.org>
Fri, 23 May 2014 22:02:11 +0000 (17:02 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 23 May 2014 22:14:48 +0000 (17:14 -0500)
commit0c4ba8efc5da8ee9ce03595ef3b7426158166aa5
tree6918dd09b250453a84adf174ff61b6668152d850
parentb93080906435b8e2ff2b23dd1ee37de4bf7faeb0
Don't call _mksubs() in VFS Node nlink()

The VFS Node nlink() code calls _mksubs(), but then just returns 1.
It looks like that may be unnecessary work, so stop doing it.

Thanks to William Stein <wstein@gmail.com> for pointing it out.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/vfs.py