fat: notify when discard is not supported
authorNamjae Jeon <linkinjeon@gmail.com>
Tue, 18 Dec 2012 00:02:56 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:22 +0000 (17:15 -0800)
commitf562146a3daf6aa0bbf2a1bc4b6b7da031ed5dcd
tree18a0b65b13f86a5cf464459fb81744c1431a9c6b
parent6920d996e3fee4ac5dcb7d34cb290b6f67bb69d0
fat: notify when discard is not supported

Change fatfs so that a warning is emitted when an attempt is made to mount
a filesystem with the unsupported `discard' option.

ext4 aready does this: http://patchwork.ozlabs.org/patch/192668/

Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Amit Sahrawat <amit.sahrawat83@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fat/inode.c