]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fat: notify when discard is not supported
authorNamjae Jeon <linkinjeon@gmail.com>
Thu, 29 Nov 2012 03:18:51 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:43 +0000 (16:23 +1100)
commit0a20780e543f8151869c6dacd4265389fb0691f5
tree55c18c677342819bc6dbc670090db5600c4c50db
parent9040aba82126143c19790151dcda4b4d6e7893c9
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>
fs/fat/inode.c