patch-2.0.21-2.1.0 linux/fs/dquot.c

Next file: linux/fs/exec.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file lx2.0/v2.0.21/linux/fs/dquot.c linux/fs/dquot.c
@@ -222,8 +222,8 @@
 		return;
 	lock_dquot(dquot);
 	down(&dquot->dq_mnt->mnt_sem);
-	if (filp->f_op->lseek) {
-		if (filp->f_op->lseek(filp->f_inode, filp,
+	if (filp->f_op->llseek) {
+		if (filp->f_op->llseek(filp->f_inode, filp,
 		    dqoff(dquot->dq_id), 0) != dqoff(dquot->dq_id)) {
 			up(&dquot->dq_mnt->mnt_sem);
 			unlock_dquot(dquot);
@@ -252,8 +252,8 @@
 		return;
 	lock_dquot(dquot);
 	down(&dquot->dq_mnt->mnt_sem);
-	if (filp->f_op->lseek) {
-		if (filp->f_op->lseek(filp->f_inode, filp,
+	if (filp->f_op->llseek) {
+		if (filp->f_op->llseek(filp->f_inode, filp,
 		    dqoff(dquot->dq_id), 0) != dqoff(dquot->dq_id)) {
 			up(&dquot->dq_mnt->mnt_sem);
 			unlock_dquot(dquot);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov