summaryrefslogtreecommitdiff
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-11-07 21:47:04 +0800
committerJan Kara <jack@suse.cz>2018-11-08 15:14:48 +0100
commitc0ed7b51ca9983086e03668f0ca20dc67ac663f4 (patch)
tree4bc3adfa25c3d34dccd878cce659cb8c0a5b611c /kernel/cred.c
parentb00d209241ff7ac336543f92ea764b9d6b03032a (diff)
downloadlwn-c0ed7b51ca9983086e03668f0ca20dc67ac663f4.tar.gz
lwn-c0ed7b51ca9983086e03668f0ca20dc67ac663f4.zip
ext2: avoid unnecessary operation in ext2_error()
If filesystem has already mounted as read-only, then we don't have to do it again. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions