]> git.baikalelectronics.ru Git - kernel.git/commit
quota: remove invalid optimization from quota_sync_all
authorChristoph Hellwig <hch@infradead.org>
Tue, 16 Feb 2010 08:44:53 +0000 (03:44 -0500)
committerJan Kara <jack@suse.cz>
Thu, 4 Mar 2010 23:20:24 +0000 (00:20 +0100)
commit2d5ea6cb661e645c8f5f2c30163b8ec225aa5f3c
tree73d50c7b2be8c1435fbaa915fa4bf882824a51a7
parenta985cc1a64193b2e3f21c5425004e21e4c8ba68a
quota: remove invalid optimization from quota_sync_all

Checking the "VFS" quota enabled and dirty bits from generic code means
this code will never get called for other implementations, e.g. XFS and
GFS2.  Grabbing the reference on the superblock really isn't much overhead
for a global Q_SYNC call, so just drop this optimization.

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