diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-03-03 09:05:02 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-03-05 00:20:28 +0100 |
commit | 759bfee658beab14af7b357156461d0eb852be2c (patch) | |
tree | 180cdedd004781ee67c30ce89951324d32910067 /fs/jfs/jfs_inode.h | |
parent | 63936ddaa16b9486e2d426ed7b09f559a5c60f87 (diff) | |
download | linux-3.10-759bfee658beab14af7b357156461d0eb852be2c.tar.gz linux-3.10-759bfee658beab14af7b357156461d0eb852be2c.tar.bz2 linux-3.10-759bfee658beab14af7b357156461d0eb852be2c.zip |
dquot: move dquot transfer responsibility into the filesystem
Currently notify_change calls vfs_dq_transfer directly. This means
we tie the quota code into the VFS. Get rid of that and make the
filesystem responsible for the transfer. Most filesystems already
do this, only ufs and udf need the code added, and for jfs it needs to
be enabled unconditionally instead of only when ACLs are enabled.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/jfs/jfs_inode.h')
-rw-r--r-- | fs/jfs/jfs_inode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jfs/jfs_inode.h b/fs/jfs/jfs_inode.h index 1eff7db34d6..4b91b278783 100644 --- a/fs/jfs/jfs_inode.h +++ b/fs/jfs/jfs_inode.h @@ -40,6 +40,7 @@ extern struct dentry *jfs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type); extern void jfs_set_inode_flags(struct inode *); extern int jfs_get_block(struct inode *, sector_t, struct buffer_head *, int); +extern int jfs_setattr(struct dentry *, struct iattr *); extern const struct address_space_operations jfs_aops; extern const struct inode_operations jfs_dir_inode_operations; |