android_kernel_xiaomi_sm8350/fs/jfs
Jan Kara e47776a0a4 Forbid user to change file flags on quota files
Forbid user from changing file flags on quota files.  User has no bussiness
in playing with these flags when quota is on.  Furthermore there is a
remote possibility of deadlock due to a lock inversion between quota file's
i_mutex and transaction's start (i_mutex for quota file is locked only when
trasaction is started in quota operations) in ext3 and ext4.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: LIOU Payphone <lioupayphone@gmail.com>
Cc: <linux-ext4@vger.kernel.org>
Acked-by: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: <reiserfs-dev@namesys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-14 18:45:38 -08:00
..
acl.c
endian24.h
file.c
inode.c fs: restore nobh 2007-10-16 09:42:58 -07:00
ioctl.c Forbid user to change file flags on quota files 2007-11-14 18:45:38 -08:00
jfs_acl.h
jfs_btree.h
jfs_debug.c
jfs_debug.h
jfs_dinode.h
jfs_dmap.c
jfs_dmap.h
jfs_dtree.c Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
jfs_dtree.h
jfs_extent.c
jfs_extent.h
jfs_filsys.h
jfs_imap.c
jfs_imap.h
jfs_incore.h more low-hanging fruits - kernel, fs, lib signedness 2007-10-14 12:41:52 -07:00
jfs_inode.c
jfs_inode.h jfs: new export ops 2007-10-22 08:13:20 -07:00
jfs_lock.h
jfs_logmgr.c JFS: Bio cleanup: Replace missing return statements 2007-10-13 11:14:04 -07:00
jfs_logmgr.h more low-hanging fruits - kernel, fs, lib signedness 2007-10-14 12:41:52 -07:00
jfs_metapage.c Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
jfs_metapage.h
jfs_mount.c
jfs_superblock.h
jfs_txnmgr.c introduce I_SYNC 2007-10-17 08:43:02 -07:00
jfs_txnmgr.h
jfs_types.h
jfs_umount.c
jfs_unicode.c
jfs_unicode.h
jfs_uniupr.c
jfs_xattr.h
jfs_xtree.c
jfs_xtree.h
Makefile
namei.c jfs: new export ops 2007-10-22 08:13:20 -07:00
resize.c
super.c exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
symlink.c
xattr.c Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid check 2007-07-17 12:00:03 -07:00