]> err.no Git - linux-2.6/commit
quota: cleanup loop in sync_dquots()
authorJan Kara <jack@suse.cz>
Fri, 25 Jul 2008 08:46:50 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:35 +0000 (10:53 -0700)
commit02a55ca87185e114e5d298a8d00608501dbabf67
tree958b60f8fb2936d7207146ff99be431c2c17edc5
parentb85f4b87a511bea86dac68c4f0fabaee2cac6c4c
quota: cleanup loop in sync_dquots()

Make loop in sync_dquots() checking whether there's something to write
more readable, remove useless variable and macro info_any_dirty() which
is used only in this place.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: "Vegard Nossum" <vegard.nossum@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/quota.c
include/linux/quota.h