patch-2.4.14 linux/fs/dquot.c
Next file: linux/fs/exec.c
Previous file: linux/fs/devfs/base.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Tue Oct 30 15:12:36 2001
-  Orig file: 
v2.4.13/linux/fs/dquot.c
-  Orig date: 
Tue Oct  9 17:06:53 2001
diff -u --recursive --new-file v2.4.13/linux/fs/dquot.c linux/fs/dquot.c
@@ -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);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)