diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-03-03 14:05:02 (GMT) |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-03-04 23:20:28 (GMT) |
commit | 759bfee658beab14af7b357156461d0eb852be2c (patch) | |
tree | 180cdedd004781ee67c30ce89951324d32910067 /fs/jfs/jfs_acl.h | |
parent | 63936ddaa16b9486e2d426ed7b09f559a5c60f87 (diff) | |
download | linux-fsl-qoriq-759bfee658beab14af7b357156461d0eb852be2c.tar.xz |
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_acl.h')
-rw-r--r-- | fs/jfs/jfs_acl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/jfs/jfs_acl.h b/fs/jfs/jfs_acl.h index b07bd41..54e0755 100644 --- a/fs/jfs/jfs_acl.h +++ b/fs/jfs/jfs_acl.h @@ -22,7 +22,7 @@ int jfs_check_acl(struct inode *, int); int jfs_init_acl(tid_t, struct inode *, struct inode *); -int jfs_setattr(struct dentry *, struct iattr *); +int jfs_acl_chmod(struct inode *inode); #else @@ -32,5 +32,10 @@ static inline int jfs_init_acl(tid_t tid, struct inode *inode, return 0; } +static inline int jfs_acl_chmod(struct inode *inode) +{ + return 0; +} + #endif #endif /* _H_JFS_ACL */ |