]> git.baikalelectronics.ru Git - kernel.git/commit
reiserfs: unpack tails on quota files
authorJan Kara <jack@suse.cz>
Mon, 28 Apr 2008 09:16:23 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:46 +0000 (08:58 -0700)
commit10c6b2cf1dde3eed3f9f2d495a13605755c3a3ce
tree2481afd9fbdd1df106d71a41cce2b08380f21d44
parent9c646af50d8434bb6c25a2d52dd98966aed844d2
reiserfs: unpack tails on quota files

Quota files cannot have tails because quota_write and quota_read functions do
not support them.  So far when quota files did have tail, we just refused to
turn quotas on it.  Sadly this check has been wrong and so there are now
plenty installations where quota files don't have NOTAIL flag set and so now
after fixing the check, they suddently fail to turn quotas on.  Since it's
easy to unpack the tail from kernel, do this from reiserfs_quota_on() which
solves the problem and is generally nicer to users anyway.

Signed-off-by: Jan Kara <jack@suse.cz>
Reported-by: <urhausen@urifabi.net>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/ioctl.c
fs/reiserfs/super.c
include/linux/reiserfs_fs.h