lkml.org 
[lkml]   [2003]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [TRIVIAL PATCH] sync_dquots_dev in Linux 2.4.21-pre7-ac1
On Wed, 16 Apr 2003, Jan Kara wrote:

> > sync_dquots_dev() is only implemented if CONFIG_QUOTA is defined.
> > However, quote.c uses it unconditionally. include/linux/quotaops.h has
> > some macros to disable some functions when CONFIG_QUOTA is undefined, so
> > it's probably where the fix belongs. This patch helps:
[snip]
> > +#define sync_dquots_dev(dev, type) do { } while(0)

My patch was misapplied. Patch against 2.4.21-rc1-ac2 is attached.

And by the way, Linux 2.4.21-rc1-ac2 calls itself 2.4.21-rc1-ac1.

--
Regards,
Pavel Roskin--- linux.orig/include/linux/quotaops.h
+++ linux/include/linux/quotaops.h
@@ -193,7 +193,7 @@
#define DQUOT_SYNC_SB(sb) do { } while(0)
#define DQUOT_OFF(sb) do { } while(0)
#define DQUOT_TRANSFER(inode, iattr) (0)
-#define sync_dquotes_dev(dev, type) do { } while(0)
+#define sync_dquots_dev(dev, type) do { } while(0)
extern __inline__ int DQUOT_PREALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr)
{
lock_kernel();
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:2.083 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site