]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: notify when discard is not supported
authorLukas Czerner <lczerner@redhat.com>
Thu, 8 Nov 2012 18:28:29 +0000 (13:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 8 Nov 2012 18:28:29 +0000 (13:28 -0500)
commitb8c151b36d2065088cd72a551057fd74f89c1af5
tree12805bed5dbe74f9eed349845bd6bb718673ea77
parent29ae1ff84d48ea8db9f2db722bf910574ad3291b
ext4: notify when discard is not supported

Notify user when mounting the file system with -o discard option, but
the device does not support discard. Obviously we do not want to fail
the mount or disable the options, because the underlying device might
change in future even without file system remount.

Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c