summaryrefslogtreecommitdiffstats
path: root/crypto/ctr.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-09-06 16:23:19 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-06 17:27:28 -0700
commitde23abd15175fb170270d485f267caebe86fb0b4 (patch)
treedca2db2b3df4fb7b47b0e32f48baedcdd7ad0391 /crypto/ctr.c
parent824f973904a1108806fa0fbe15dc93ee9ecd9e0a (diff)
downloadlinux-de23abd15175fb170270d485f267caebe86fb0b4.tar.gz
linux-de23abd15175fb170270d485f267caebe86fb0b4.tar.bz2
linux-de23abd15175fb170270d485f267caebe86fb0b4.zip
fs/sync.c: remove unnecessary NULL f_mapping check in sync_file_range
fsync codepath assumes that f_mapping can never be NULL, but sync_file_range has a check for that. Remove the one from sync_file_range as I don't see how you'd ever get a NULL pointer in here. Link: http://lkml.kernel.org/r/20170525110509.9434-1-jlayton@redhat.com Signed-off-by: Jeff Layton <jlayton@redhat.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions