Re: quotaoff OOPS (2.4.5-ac22)

Jan Kara (jack@suse.cz)
Mon, 2 Jul 2001 19:38:47 +0200


--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

> After issuing quotaoff -a the kernel oopses. All filesystems which have quotas are ext2 and are using the new quota system.
>
Seems like missing part of patch from Al Viro.. Attached patch should fix
it.

Honza

--
Jan Kara <jack@suse.cz>
SuSE Labs

--6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dquot.c.diff"

--- linux/fs/dquot.c Mon Jul 2 19:29:31 2001 +++ linux/fs/dquot.c Mon Jul 2 19:30:37 2001 @@ -1889,7 +1889,7 @@ } /* Function in inode.c - remove pointers to dquots in icache */ -extern void remove_dquot_ref(kdev_t, short); +extern void remove_dquot_ref(struct super_block *, short); /* * Turn quota off on a device. type == -1 ==> quotaoff for all types (umount) @@ -1913,7 +1913,7 @@ reset_enable_flags(dqopt, cnt); /* Note: these are blocking operations */ - remove_dquot_ref(sb->s_dev, cnt); + remove_dquot_ref(sb, cnt); invalidate_dquots(sb->s_dev, cnt); /* When invalidate is finished there are no users of any dquot of our interest... */ if (quotafile_info_dirty(sb_dqopt(sb)->info+cnt))

--6c2NcOVqGQ03X4Wi-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/