Files
android_kernel_xiaomi_sm8450/Documentation/filesystems
Jeff Layton df2474a22c locks: print a warning when mount fails due to lack of "mand" support
Since 9e8925b67a ("locks: Allow disabling mandatory locking at compile
time"), attempts to mount filesystems with "-o mand" will fail.
Unfortunately, there is no other indiciation of the reason for the
failure.

Change how the function is defined for better readability. When
CONFIG_MANDATORY_FILE_LOCKING is disabled, printk a warning when
someone attempts to mount with -o mand.

Also, add a blurb to the mandatory-locking.txt file to explain about
the "mand" option, and the behavior one should expect when it is
disabled.

Reported-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
2019-08-16 12:13:48 -04:00
..
2019-03-14 19:32:36 -05:00
2017-05-12 15:57:15 -07:00
2017-10-15 00:47:23 -04:00
2015-07-23 20:59:40 +02:00
2019-07-02 15:40:42 -07:00
2018-03-20 17:11:45 +01:00
2019-07-08 14:15:36 -06:00
2019-03-28 08:54:20 -07:00
2018-04-04 14:05:48 -04:00
2016-03-09 15:33:06 -07:00
2018-10-23 13:49:01 +02:00