diff options
author | Chao Yu <yuchao0@huawei.com> | 2017-07-26 00:01:41 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-07-31 16:48:32 -0700 |
commit | 5c57132eaf5265937e46340bfbfb97ffb078c423 (patch) | |
tree | 66d113156b37e09e6b82e2eece25638eab86f269 /fs/f2fs/file.c | |
parent | a6d3a479ae082173c6102eba0e502cc439dacf21 (diff) | |
download | op-kernel-dev-5c57132eaf5265937e46340bfbfb97ffb078c423.zip op-kernel-dev-5c57132eaf5265937e46340bfbfb97ffb078c423.tar.gz |
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 'fs/f2fs/file.c')
-rw-r--r-- | fs/f2fs/file.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index d2ca4b7..a0413c9 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -1518,19 +1518,6 @@ static int f2fs_file_flush(struct file *file, fl_owner_t id) return 0; } -#define F2FS_REG_FLMASK (~(FS_DIRSYNC_FL | FS_TOPDIR_FL)) -#define F2FS_OTHER_FLMASK (FS_NODUMP_FL | FS_NOATIME_FL) - -static inline __u32 f2fs_mask_flags(umode_t mode, __u32 flags) -{ - if (S_ISDIR(mode)) - return flags; - else if (S_ISREG(mode)) - return flags & F2FS_REG_FLMASK; - else - return flags & F2FS_OTHER_FLMASK; -} - static int f2fs_ioc_getflags(struct file *filp, unsigned long arg) { struct inode *inode = file_inode(filp); |