]> git.baikalelectronics.ru Git - kernel.git/commit
quota: special case Q_SYNC without device name
authorChristoph Hellwig <hch@infradead.org>
Tue, 16 Feb 2010 08:44:49 +0000 (03:44 -0500)
committerJan Kara <jack@suse.cz>
Thu, 4 Mar 2010 23:20:22 +0000 (00:20 +0100)
commit8827272a2ad055d055149f843740f317e62fe72e
tree772a3cccbe12d98ecc33acb31f7fdb05c4e4b957
parent0b4e9e1cd7b48add2373496b0929d4a4542f3722
quota: special case Q_SYNC without device name

The Q_SYNC command can be called without the path to a device, in which case
it iterates over all superblocks.  Special case this variant directly in
sys_quotactl so that the other code always gets a superblock and doesn't
need to deal with this case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota.c