summaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-10-18 11:41:35 +0200
committerSteve French <smfrench@gmail.com>2011-10-18 17:33:44 +0200
commit7748dd6eab8e13f974d4664395e76afffacda04b (patch)
treed649a1ef6e9219c7d6d3a5a690555c439e28160a /fs/cifs/dir.c
parentcifs: Call id to SID mapping functions to change owner/group (try #4 repost) (diff)
downloadlinux-7748dd6eab8e13f974d4664395e76afffacda04b.tar.xz
linux-7748dd6eab8e13f974d4664395e76afffacda04b.zip
CIFS: cleanup min_t() cast in cifs_read()
Smatch complains that the cast to "int" in min_t() changes very large values of current_read_size into negative values and so min_t() could return the wrong value. I removed the const as well, as that doesn't do anything here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/dir.c')
0 files changed, 0 insertions, 0 deletions