]> git.baikalelectronics.ru Git - kernel.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)
commit64f17ee629bd168d772c42418de57dee1f40bc88
tree8acb07cd2bf0ab360e6397dfa816feb009fc49af
parent57a248e35cacc940cc26943f1b51206540676cd7
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