linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ext4: only set project inherit bit for directory
@ 2019-06-06  4:32 Wang Shilong
  2019-06-06  4:32 ` [PATCH 2/2] f2fs: " Wang Shilong
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Wang Shilong @ 2019-06-06  4:32 UTC (permalink / raw)
  To: linux-ext4, linux-f2fs-devel; +Cc: Andreas Dilger, Wang Shilong

From: Wang Shilong <wshilong@ddn.com>

It doesn't make any sense to have project inherit bits
for regular files, even though this won't cause any
problem, but it is better fix this.

Cc: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Wang Shilong <wshilong@ddn.com>
---
 fs/ext4/ext4.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 1cb67859e051..ceb74093e138 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -421,7 +421,8 @@ struct flex_groups {
 			   EXT4_PROJINHERIT_FL | EXT4_CASEFOLD_FL)
 
 /* Flags that are appropriate for regular files (all but dir-specific ones). */
-#define EXT4_REG_FLMASK (~(EXT4_DIRSYNC_FL | EXT4_TOPDIR_FL | EXT4_CASEFOLD_FL))
+#define EXT4_REG_FLMASK (~(EXT4_DIRSYNC_FL | EXT4_TOPDIR_FL | EXT4_CASEFOLD_FL |\
+			   EXT4_PROJINHERIT_FL))
 
 /* Flags that are appropriate for non-directories/regular files. */
 #define EXT4_OTHER_FLMASK (EXT4_NODUMP_FL | EXT4_NOATIME_FL)
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2019-06-13 12:07 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-06  4:32 [PATCH 1/2] ext4: only set project inherit bit for directory Wang Shilong
2019-06-06  4:32 ` [PATCH 2/2] f2fs: " Wang Shilong
2019-06-13  6:36   ` Chao Yu
2019-06-13  6:36     ` [f2fs-dev] " Chao Yu
2019-06-13  7:34     ` 回复: " Wang Shilong via Linux-f2fs-devel
2019-06-13  7:34       ` [f2fs-dev] " Wang Shilong via Linux-f2fs-devel
2019-06-13  8:03       ` Chao Yu
2019-06-13  8:03         ` [f2fs-dev] " Chao Yu
2019-06-06 15:30 ` [PATCH 1/2] ext4: " Darrick J. Wong
2019-06-06 15:30   ` [f2fs-dev] " Darrick J. Wong
2019-06-06 22:45 ` Eric Biggers
2019-06-06 22:45   ` [f2fs-dev] " Eric Biggers
2019-06-07  7:51   ` 回复: " Wang Shilong via Linux-f2fs-devel
2019-06-07  7:51     ` [f2fs-dev] " Wang Shilong via Linux-f2fs-devel
2019-06-07 18:14     ` Eric Biggers
2019-06-07 18:14       ` [f2fs-dev] " Eric Biggers
2019-06-08  1:15       ` 回复: " Wang Shilong via Linux-f2fs-devel
2019-06-08  1:15         ` [f2fs-dev] " Wang Shilong via Linux-f2fs-devel
2019-06-10  4:38       ` Theodore Ts'o
2019-06-10  4:38         ` [f2fs-dev] " Theodore Ts'o
2019-06-10  4:15 ` Theodore Ts'o
2019-06-10  4:15   ` [f2fs-dev] " Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).