summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorShawn Lin2016-08-22 09:45:59 +0200
committerAl Viro2016-09-28 00:47:38 +0200
commit85e7340f21d3a88883e54cd2a5d7ebf04e827eeb (patch)
treef502ff9ce4bf2962a72c5b7f47532c8deb631f01 /kernel/sysctl.c
parentcachefiles: Fix attempt to read i_blocks after deleting file [ver #2] (diff)
downloadkernel-qcow2-linux-85e7340f21d3a88883e54cd2a5d7ebf04e827eeb.tar.gz
kernel-qcow2-linux-85e7340f21d3a88883e54cd2a5d7ebf04e827eeb.tar.xz
kernel-qcow2-linux-85e7340f21d3a88883e54cd2a5d7ebf04e827eeb.zip
fs: compat: remove redundant check of nr_segs
nr_segs should never be less than zero as its type is unsigned long, so let's remove this check. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions