diff options
author | Dave Kleikamp <dave.kleikamp@oracle.com> | 2017-08-31 16:46:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-08-31 17:02:21 -0700 |
commit | c227390c91a355300f47f9bef0aefbdfaaca1500 (patch) | |
tree | 0e2d9bd9eb695c55da12ccb7419ca90ccc26ebbd /drivers/extcon/extcon-max8997.c | |
parent | 42ff72cf27027fa28dd79acabe01d9196f1480a7 (diff) |
jfs should use MAX_LFS_FILESIZE when calculating s_maxbytes
jfs had previously avoided the use of MAX_LFS_FILESIZE because it hadn't
accounted for the whole 32-bit index range on 32-bit systems. That has
been fixed by commit 0cc3b0ec23ce ("Clarify (and fix) MAX_LFS_FILESIZE
macros"), so we can simplify the code now.
Suggested by Andreas Dilger.
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Cc: jfs-discussion@lists.sourceforge.net
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/extcon/extcon-max8997.c')
0 files changed, 0 insertions, 0 deletions