Skip to contentSkip to conversation

nfsd: Use lowercase names of quota functions

PATCH In review Jan Kara 2 participants 3 messages Feb 9, 2009 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Jan Kara

author
#0 lore raw

PATCH 1/1 nfsd: Use lowercase names of quota functions

Use lowercase names of quota functions instead of old uppercase ones.

---
 fs/nfsd/vfs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
fs/nfsd/vfs.c +2 -2
index 6e50aaa..ad38fc9 100644
@@ -356,7 +356,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
 			put_write_access(inode);
 			goto out_nfserr;
 		}
-		DQUOT_INIT(inode);
+		vfs_dq_init(inode);
 	}
 
 	/* sanitize the mode change */
@@ -723,7 +723,7 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type,
 		else
 			flags = O_WRONLY|O_LARGEFILE;
 
-		DQUOT_INIT(inode);
+		vfs_dq_init(inode);
 	}
 	*filp = dentry_open(dget(dentry), mntget(fhp->fh_export->ex_path.mnt),
 			    flags, cred);
Signature · 1 line
1.6.0.2
author
#1 lore raw
Quoted 5 lines · Jan Kara

Use lowercase names of quota functions instead of old uppercase ones.

And I should add that this patch is queued in my quota tree and I plan to
send it to Linus in the next merge window (i.e. for 2.6.30-rc1).

Honza

Quoted 29 lines
---
 fs/nfsd/vfs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
fs/nfsd/vfs.c +2 -2
index 6e50aaa..ad38fc9 100644
@@ -356,7 +356,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
 			put_write_access(inode);
 			goto out_nfserr;
 		}
-		DQUOT_INIT(inode);
+		vfs_dq_init(inode);
 	}
 
 	/* sanitize the mode change */
@@ -723,7 +723,7 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type,
 		else
 			flags = O_WRONLY|O_LARGEFILE;
 
-		DQUOT_INIT(inode);
+		vfs_dq_init(inode);
 	}
 	*filp = dentry_open(dget(dentry), mntget(fhp->fh_export->ex_path.mnt),
 			    flags, cred);
Signature · 1 line
1.6.0.2

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 8 lines · Jan Kara
Quoted 5 lines · Jan Kara

Use lowercase names of quota functions instead of old uppercase ones.

And I should add that this patch is queued in my quota tree and I plan to
send it to Linus in the next merge window (i.e. for 2.6.30-rc1).

Fine by me, thanks.--b.

Quoted 31 lines

Honza

Quoted 29 lines
---
 fs/nfsd/vfs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
fs/nfsd/vfs.c +2 -2
index 6e50aaa..ad38fc9 100644
@@ -356,7 +356,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
 			put_write_access(inode);
 			goto out_nfserr;
 		}
-		DQUOT_INIT(inode);
+		vfs_dq_init(inode);
 	}
 
 	/* sanitize the mode change */
@@ -723,7 +723,7 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type,
 		else
 			flags = O_WRONLY|O_LARGEFILE;
 
-		DQUOT_INIT(inode);
+		vfs_dq_init(inode);
 	}
 	*filp = dentry_open(dget(dentry), mntget(fhp->fh_export->ex_path.mnt),
 			    flags, cred);
Signature · 1 line
1.6.0.2