]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit6ae09575b3c951ad77c07d068b8dbbc09031b2d1
tree772a3cccbe12d98ecc33acb31f7fdb05c4e4b957
parentf450d4fee42c52e8045131a355b2de03094aa066
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