]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
quota: Keep which entries were set by SETQUOTA quotactl
authorJan Kara <jack@suse.cz>
Thu, 2 Oct 2008 14:48:10 +0000 (16:48 +0200)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:22 +0000 (08:40 -0800)
commit4d59bce4f9eaf26d6d9046b56a2f1c0c7f20981d
tree8acb07cd2bf0ab360e6397dfa816feb009fc49af
parentdb49d2df489f727096438706a5428115e84a3f0d
quota: Keep which entries were set by SETQUOTA quotactl

Quota in a clustered environment needs to synchronize quota information
among cluster nodes. This means we have to occasionally update some
information in dquot from disk / network. On the other hand we have to
be careful not to overwrite changes administrator did via SETQUOTA.
So indicate in dquot->dq_flags which entries have been set by SETQUOTA
and quota format can clear these flags when it properly propagated
the changes.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/dquot.c
include/linux/quota.h