dquot: cleanup dquot transfer routine
Get rid of the transfer dquot operation - it is now always called from the filesystem and if a filesystem really needs it's own (which none currently does) it can just call into it's own routine directly. Rename the now static low-level dquot_transfer helper to __dquot_transfer and vfs_dq_transfer to dquot_transfer to have a consistent namespace, and make the new dquot_transfer return a normal negative errno value which all callers expect. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Jan Kara <jack@suse.cz>
Showing
- Documentation/filesystems/Locking 0 additions, 2 deletionsDocumentation/filesystems/Locking
- drivers/staging/pohmelfs/inode.c 1 addition, 1 deletiondrivers/staging/pohmelfs/inode.c
- fs/ext2/inode.c 1 addition, 1 deletionfs/ext2/inode.c
- fs/ext3/inode.c 1 addition, 1 deletionfs/ext3/inode.c
- fs/ext3/super.c 0 additions, 1 deletionfs/ext3/super.c
- fs/ext4/inode.c 1 addition, 1 deletionfs/ext4/inode.c
- fs/ext4/super.c 0 additions, 1 deletionfs/ext4/super.c
- fs/jfs/file.c 3 additions, 2 deletionsfs/jfs/file.c
- fs/ocfs2/file.c 2 additions, 2 deletionsfs/ocfs2/file.c
- fs/ocfs2/quota_global.c 0 additions, 1 deletionfs/ocfs2/quota_global.c
- fs/quota/dquot.c 5 additions, 7 deletionsfs/quota/dquot.c
- fs/reiserfs/inode.c 1 addition, 2 deletionsfs/reiserfs/inode.c
- fs/reiserfs/super.c 0 additions, 1 deletionfs/reiserfs/super.c
- fs/udf/file.c 1 addition, 1 deletionfs/udf/file.c
- fs/ufs/truncate.c 1 addition, 1 deletionfs/ufs/truncate.c
- include/linux/quota.h 0 additions, 1 deletioninclude/linux/quota.h
- include/linux/quotaops.h 2 additions, 3 deletionsinclude/linux/quotaops.h
Loading
Please register or sign in to comment