diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-05-19 15:39:28 (GMT) |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 15:55:55 (GMT) |
commit | 5f9359201b5cf1d94fe0e0c47fcba38cfc921863 (patch) | |
tree | 3d2e41a9590bb0e77a50d4b0ea4b8ad4706f566e /fs/afs/fsclient.c | |
parent | bbbef2d5ad8203f67274196dac90754ae106a463 (diff) | |
download | linux-fsl-qoriq-5f9359201b5cf1d94fe0e0c47fcba38cfc921863.tar.xz |
drbd: Make drbd's use of netlink attribute flags less confusing
Make it more clear in the flag names which flags are internal to drbd, and
which are not.
The check for mandatory attributes is the only extension visible at the netlink
layer. Attributes with this flag set would look like unknown attributes to
some kernel versions. The netlink layer would ignore them and also skip
consistency checks on the attribute type and legth. To avoid this, we check
for mandatory attributes first, remove the mandatory flag, and then process the
attributes normally.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'fs/afs/fsclient.c')
0 files changed, 0 insertions, 0 deletions