[PATCH v2] fs: avoid iterate_supers to trigger call for sync on filesystem during mount

2017-03-17 Thread Vivek Trivedi
means mount is not completed yet, there is no point in waiting for sys_sync in that superblock. Signed-off-by: Vivek Trivedi Reviewed-by: Amit Sahrawat Reviewed-by: Jan Kara --- Changes in v2: - it is more consistent to use MS_BORN instead of MS_ACTIVE as it is already used in iterate_supe

[PATCH RESEND] fs: avoid iterate_supers to trigger call for sync on filesystem during mount

2017-02-08 Thread Vivek Trivedi
_list and MS_ACTIVE is set after successful mount and cleared during the umount path from generic_shutdown_super. --- Fixed a typo and updated the condition in iterate_supers. Signed-off-by: Vivek Trivedi Reviewed-by: Amit Sahrawat --- fs/super.c | 4 1 file changed, 4 insertions(+) diff -

[PATCH] fs: avoid iterate_supers to trigger call for sync on filesystem during mount

2017-02-07 Thread Vivek Trivedi
d MS_ACTIVE is set after successful mount and cleared during the umount path from generic_shutdown_super. Signed-off-by: Vivek Trivedi Reviewed-by: Amit Sahrawat --- fs/super.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/super.c b/fs/super.c index b8b6a08..ef3f57c 100644 --- a/

[EDT] [PATCH] smack: allow mount opts setting over filesystems with binary mount data

2015-05-17 Thread VIVEK TRIVEDI
LSM similar to SELinux. Signed-off-by: Vivek Trivedi Signed-off-by: Amit Sahrawat --- security/smack/smack.h | 18 security/smack/smack_lsm.c | 250 2 files changed, 223 insertions(+), 45 deletions(-) diff --git a/security/smack/smack.h

[PATCH] nfsd4: fix cr_principal comparison check in same_creds

2012-07-24 Thread Vivek Trivedi
This fixes a wrong check for same cr_principal in same_creds Signed-off-by: Vivek Trivedi Signed-off-by: Namjae Jeon --- fs/nfsd/nfs4state.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 94effd5..e8ead04 100644 --- a