summaryrefslogtreecommitdiffstats
path: root/include/linux/f2fs_fs.h
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-07-26 00:01:41 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-07-31 16:48:32 -0700
commit5c57132eaf5265937e46340bfbfb97ffb078c423 (patch)
tree66d113156b37e09e6b82e2eece25638eab86f269 /include/linux/f2fs_fs.h
parenta6d3a479ae082173c6102eba0e502cc439dacf21 (diff)
downloadlinux-stable-5c57132eaf5265937e46340bfbfb97ffb078c423.tar.gz
linux-stable-5c57132eaf5265937e46340bfbfb97ffb078c423.tar.bz2
linux-stable-5c57132eaf5265937e46340bfbfb97ffb078c423.zip
f2fs: support project quota
This patch adds to support plain project quota. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/f2fs_fs.h')
-rw-r--r--include/linux/f2fs_fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index 0c79ddd40b70..50f176683676 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -239,6 +239,7 @@ struct f2fs_inode {
struct {
__le16 i_extra_isize; /* extra inode attribute size */
__le16 i_padding; /* padding */
+ __le32 i_projid; /* project id */
__le32 i_extra_end[0]; /* for attribute size calculation */
};
__le32 i_addr[DEF_ADDRS_PER_INODE]; /* Pointers to data blocks */
@@ -522,4 +523,6 @@ enum {
#define S_SHIFT 12
+#define F2FS_DEF_PROJID 0 /* default project ID */
+
#endif /* _LINUX_F2FS_FS_H */