summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-12-20 09:29:35 -0500
committerTheodore Ts'o <tytso@mit.edu>2013-12-20 09:29:35 -0500
commitf5a44db5d2d677dfbf12deee461f85e9ec633961 (patch)
treea60c763ab0cfc3a247f10ed36194d238b1e205bd /fs/cifs
parent34cf865d54813aab3497838132fb1bbd293f4054 (diff)
downloadop-kernel-dev-f5a44db5d2d677dfbf12deee461f85e9ec633961.zip
op-kernel-dev-f5a44db5d2d677dfbf12deee461f85e9ec633961.tar.gz
ext4: add explicit casts when masking cluster sizes
The missing casts can cause the high 64-bits of the physical blocks to be lost. Set up new macros which allows us to make sure the right thing happen, even if at some point we end up supporting larger logical block numbers. Thanks to the Emese Revfy and the PaX security team for reporting this issue. Reported-by: PaX Team <pageexec@freemail.hu> Reported-by: Emese Revfy <re.emese@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/cifs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud