]> git.baikalelectronics.ru Git - kernel.git/commit
quota: quota core changes for quotaon on remount
authorJan Kara <jack@suse.cz>
Mon, 28 Apr 2008 09:14:33 +0000 (02:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:33 +0000 (08:58 -0700)
commitd02e16d0b1ee4c7af58927f49d1581428fbb37d4
treea9536ea573725931cd4eb3139f4885887e3f8bf8
parent78070f186e1b6d7d7134ac4c73400d36bfc84142
quota: quota core changes for quotaon on remount

Currently, we just turn quotas off on remount of filesystem to read-only
state.  The patch below adds necessary framework so that we can turn quotas
off on remount RO but we are able to automatically reenable them again when
filesystem is remounted to RW state.  All we need to do is to keep references
to inodes of quota files when remounting RO and using these references to
reenable quotas when remounting RW.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/dquot.c
fs/quota.c
fs/super.c
include/linux/quota.h
include/linux/quotaops.h