mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nathan Scott <nathans@sgi.com>
To: Jan Kara <jack@suse.cz.com>,
	OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: Quota patches
Date: Thu, 23 May 2002 09:30:10 +1000	[thread overview]
Message-ID: <20020523093009.T180298@wobbly.melbourne.sgi.com> (raw)
In-Reply-To: <20020520135530.GB9209@atrey.karlin.mff.cuni.cz> <87bsb86k4r.fsf@devron.myhome.or.jp>

hi there,

On Thu, May 23, 2002 at 04:46:28AM +0900, OGAWA Hirofumi wrote:
> What do you think of the following patches for kernel without
> quota support? We already have weak symbol for sys_quotactl(). 
> 
> --- linux-bk/fs/Makefile        Wed May 22 01:17:48 2002
> +++ linux-2.5.17/fs/Makefile    Thu May 23 03:23:30 2002
> @@ -15,7 +15,7 @@
>                 namei.o fcntl.o ioctl.o readdir.o select.o fifo.o locks.o \
>                 dcache.o inode.o attr.o bad_inode.o file.o iobuf.o dnotify.o \
>                 filesystems.o namespace.o seq_file.o xattr.o libfs.o \
> -               fs-writeback.o quota.o
> +               fs-writeback.o
> 
>  ifneq ($(CONFIG_NFSD),n)
>  ifneq ($(CONFIG_NFSD),)
> @@ -81,7 +81,7 @@
> 
>  obj-$(CONFIG_BINFMT_ELF)       += binfmt_elf.o
> 
> -obj-$(CONFIG_QUOTA) += dquot.o
> +obj-$(CONFIG_QUOTA) += dquot.o quota.o
>  obj-$(CONFIG_QFMT_V1) += quota_v1.o
>  obj-$(CONFIG_QFMT_V2) += quota_v2.o
> 

On Wed, May 22, 2002 at 09:57:00PM +0200, Jan Kara wrote:
>   I know this but this file is also needed by XFS people so it isn't
> so easy.  But as XFS stuff is not currently in kernel the change is


A change to the patch like this would make this work for us too:

replacing:
-obj-$(CONFIG_QUOTA) += dquot.o
+obj-$(CONFIG_QUOTA) += dquot.o quota.o

with just:
+obj-$(CONFIG_QUOTACTL) += quota.o


Needs to be fleshed out a little bit, of course - both CONFIG_QUOTA
and CONFIG_XFS_QUOTA (from the XFS patches) would need fs/Config.in
changes to add the new $CONFIG_QUOTACTL dependency, but that should
just about do the trick I think.

cheers.

-- 
Nathan

  parent reply	other threads:[~2002-05-22 23:30 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-20 13:55 Jan Kara
2002-05-20 14:07 ` Christoph Hellwig
2002-05-20 15:38   ` Jan Kara
2002-05-22 19:46 ` OGAWA Hirofumi
2002-05-22 19:57   ` Jan Kara
2002-05-22 23:30   ` Nathan Scott [this message]
2002-05-23  0:59     ` Nathan Scott
2002-05-23  1:56       ` Alan Cox
2002-05-23  1:55         ` Nathan Scott
2002-05-23  9:16         ` Jan Kara
2002-05-23 17:03           ` Linus Torvalds
2002-05-24  2:35             ` Nathan Scott
2002-05-24  3:46               ` Linus Torvalds
2002-05-24 14:58               ` Jan Kara
2002-05-24 14:10                 ` Martin Dalecki
2002-05-24 15:43                   ` Alan Cox
2002-05-24 14:31                     ` Martin Dalecki
2002-05-24 15:43                       ` Christoph Hellwig
2002-05-24 14:43                         ` Martin Dalecki
2002-05-24 16:12                           ` Alan Cox
2002-05-24 15:55                             ` Christoph Hellwig
2002-05-24 14:54                               ` Martin Dalecki
2002-05-24 16:18                               ` Alan Cox
2002-05-24 16:14                       ` Alan Cox
2002-05-24 16:01                         ` David Woodhouse
2002-05-24 18:41                         ` Thunder from the hill
2002-05-24 15:07             ` Alan Cox
     [not found] <20020523154249.X180298@wobbly.melbourne.sgi.com>
2002-05-23  8:53 ` Jan Kara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020523093009.T180298@wobbly.melbourne.sgi.com \
    --to=nathans@sgi.com \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=jack@suse.cz.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®