Messages in this thread Patch in this message | | | Date | Mon, 28 Apr 2003 14:10:43 -0400 (EDT) | From | Pavel Roskin <> | Subject | Re: [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(); | |