diff options
author | Gao Xiang <gaoxiang25@huawei.com> | 2019-09-04 10:09:05 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-05 20:10:08 +0200 |
commit | 99634bf388db04048b83a075358a1d166e7300fb (patch) | |
tree | 101429479b254d807a2e762fa2a4851a490e1b4c /fs/erofs/internal.h | |
parent | 94e4e153b1c25a49b4953c424e6e2f66efb449f3 (diff) |
erofs: add "erofs_" prefix for common and short functions
Add erofs_ prefix to free_inode, alloc_inode, ...
Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190904020912.63925-19-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/erofs/internal.h')
-rw-r--r-- | fs/erofs/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h index 13c8d841c43a..881eb2ee18b5 100644 --- a/fs/erofs/internal.h +++ b/fs/erofs/internal.h @@ -308,7 +308,7 @@ struct erofs_inode { #define EROFS_I(ptr) \ container_of(ptr, struct erofs_inode, vfs_inode) -static inline unsigned long inode_datablocks(struct inode *inode) +static inline unsigned long erofs_inode_datablocks(struct inode *inode) { /* since i_size cannot be changed */ return DIV_ROUND_UP(inode->i_size, EROFS_BLKSIZ); |