]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/quotaops.h
dquot: move dquot initialization responsibility into the filesystem
[net-next-2.6.git] / include / linux / quotaops.h
index a5ebd1abccd8d9b068682fd25fe0419e5cf05e19..93ac788345e215a0965d236ca79501b58c7afbb1 100644 (file)
@@ -48,6 +48,8 @@ int dquot_release(struct dquot *dquot);
 int dquot_commit_info(struct super_block *sb, int type);
 int dquot_mark_dquot_dirty(struct dquot *dquot);
 
+int dquot_file_open(struct inode *inode, struct file *file);
+
 int vfs_quota_on(struct super_block *sb, int type, int format_id,
        char *path, int remount);
 int vfs_quota_enable(struct inode *inode, int type, int format_id,
@@ -342,4 +344,6 @@ static inline void dquot_release_reservation_block(struct inode *inode,
        __dquot_free_space(inode, nr << inode->i_blkbits, 1);
 }
 
+#define dquot_file_open                generic_file_open
+
 #endif /* _LINUX_QUOTAOPS_ */