| Kernel v2.4.14-pre8 /fs/dquot.c |
|---|
 2.4.14-pre8
 fs
 dquot.c
diff -u --recursive --new-file v2.4.13/linux/fs/dquot.c linux/fs/dquot.c
--- v2.4.13/linux/fs/dquot.c Tue Oct 9 17:06:53 2001
+++ linux/fs/dquot.c Tue Oct 30 15:12:36 2001
@@ -1363,6 +1363,7 @@
inode->i_flags |= S_NOQUOTA;
dqopt->files[type] = f;
+ sb->dq_op = &dquot_operations;
set_enable_flags(dqopt, type);
dquot = dqget(sb, 0, type);
@@ -1370,7 +1371,6 @@
dqopt->block_expire[type] = (dquot != NODQUOT) ? dquot->dq_btime : MAX_DQ_TIME;
dqput(dquot);
- sb->dq_op = &dquot_operations;
add_dquot_ref(sb, type);
up(&dqopt->dqoff_sem);
|