diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2017-11-29 16:11:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-29 18:40:43 -0800 |
commit | b6e8e12c0aeb5fbf1bf46c84d58cc93aedede385 (patch) | |
tree | 94df70c7c3048ce0028d5e3a4ec2f1402ac612ae /firmware | |
parent | d08afa149acfd00871484ada6dabc3880524cd1c (diff) | |
download | linux-b6e8e12c0aeb5fbf1bf46c84d58cc93aedede385.tar.gz linux-b6e8e12c0aeb5fbf1bf46c84d58cc93aedede385.tar.bz2 linux-b6e8e12c0aeb5fbf1bf46c84d58cc93aedede385.zip |
fs/fat/inode.c: fix sb_rdonly() change
Commit bc98a42c1f7d ("VFS: Convert sb->s_flags & MS_RDONLY to
sb_rdonly(sb)") converted fat_remount():new_rdonly from a bool to an
int.
However fat_remount() depends upon the compiler's conversion of a
non-zero integer into boolean `true'.
Fix it by switching `new_rdonly' back into a bool.
Link: http://lkml.kernel.org/r/87mv3d5x51.fsf@mail.parknet.co.jp
Fixes: bc98a42c1f7d0f8 ("VFS: Convert sb->s_flags & MS_RDONLY to sb_rdonly(sb)")
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Joe Perches <joe@perches.com>
Cc: David Howells <dhowells@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions