]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fat: notify when discard is not supported
authorNamjae Jeon <linkinjeon@gmail.com>
Thu, 15 Nov 2012 02:38:36 +0000 (13:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 06:32:13 +0000 (17:32 +1100)
commit3f3cc945a2e90170093134a1e9082349fb80f3fa
treeae8ee1bb986494ef2065737b191787006e4c24e7
parent8b96d543cef48f0d16ca7becd98932c014564574
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