Files
Andrzej Pietrasiewicz 38d251af36 UPSTREAM: fs: configfs: don't return anything from drop_link
Documentation/filesystems/configfs/configfs.txt says:

"When unlink(2) is called on the symbolic link, the source item is
notified via the ->drop_link() method.  Like the ->drop_item() method,
this is a void function and cannot return failure."

The ->drop_item() is indeed a void function, the ->drop_link() is
actually not. This, together with the fact that the value of ->drop_link()
is silently ignored suggests, that it is the ->drop_link() return
type that should be corrected and changed to void.

This patch changes drop_link() signature and all its users.

Change-Id: I5b2944a39e6dc7ac81e249c174a0e41070cb9ce2
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
[hch: reverted reformatting of some code]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jianing Ren <jianing.ren@rock-chips.com>
(cherry picked from commit e16769d4bc)
2020-05-06 14:35:50 +08:00
..
2014-08-02 01:26:07 -05:00
2014-01-24 10:55:21 -06:00
2015-09-08 15:35:28 -07:00
2015-07-23 20:59:40 +02:00
2015-07-23 20:59:40 +02:00
2019-07-12 18:35:04 -07:00
2015-10-29 12:57:48 -05:00
2015-10-13 22:17:57 -07:00
2019-01-28 10:13:57 +01:00
2015-05-18 11:23:07 +02:00
2013-07-25 12:34:15 +02:00
2014-12-29 15:40:18 -07:00
2014-05-05 15:32:05 +02:00
2015-07-23 20:59:40 +02:00
2015-06-01 07:15:38 +10:00