Benjamin Coddington
e901f17b07
NFS: Don't cleanup sysfs superblock entry if uninitialized
...
Its possible to end up in nfs_free_server() before the server's superblock
sysfs entry has been initialized, in which case calling kobject_put() will
emit a WARNING. Check if the kobject has been initialized before cleaning
it up.
Fixes: 1c7251187dc0 ("NFS: add superblock sysfs entries")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2023-06-29 14:25:35 -04:00
..
2022-08-10 14:04:32 -07:00
2023-02-15 11:07:54 -05:00
2022-11-01 10:04:52 -07:00
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2022-06-06 11:53:55 -04:00
2023-02-20 09:20:32 -05:00
2022-02-28 10:26:40 -05:00
2022-01-06 14:00:20 -05:00
2023-06-29 14:25:35 -04:00
2022-11-30 05:08:10 -05:00
2021-06-13 19:36:27 -04:00
2023-05-19 16:50:05 -04:00
2023-02-14 14:22:33 -05:00
2022-10-27 15:52:10 -04:00
2022-10-27 15:52:10 -04:00
2023-04-26 09:04:59 -04:00
2023-04-27 19:42:02 -07:00
2023-06-19 12:30:17 -04:00
2023-04-21 16:36:21 -04:00
2023-04-11 13:08:26 -04:00
2021-11-05 14:54:40 -04:00
2023-06-19 17:16:43 -04:00
2023-06-19 12:30:17 -04:00
2021-04-05 09:04:20 -04:00
2023-04-11 13:08:26 -04:00
2023-04-11 13:00:02 -04:00
2022-01-10 11:53:25 +00:00
2022-10-27 15:52:10 -04:00
2023-01-19 09:24:25 +01:00
2019-07-06 14:54:49 -04:00
2019-05-21 10:50:45 +02:00
2022-03-02 08:43:39 -05:00
2023-03-06 09:57:12 +01:00
2023-04-27 19:57:00 -07:00
2023-06-19 15:06:40 -04:00
2022-10-20 10:13:27 +02:00
2023-03-06 09:57:12 +01:00
2022-03-02 08:43:39 -05:00
2023-01-11 06:52:32 -05:00
2023-06-19 15:04:13 -04:00
2022-12-06 10:38:38 -05:00
2017-11-02 11:10:55 +01:00
2022-11-01 10:04:52 -07:00
2015-04-23 15:16:14 -04:00
2022-10-27 15:52:10 -04:00
2023-06-19 15:10:57 -04:00
2021-05-07 00:26:34 -07:00
2021-11-07 09:23:14 -05:00
2021-11-07 09:23:14 -05:00
2023-06-19 15:09:25 -04:00
2021-01-10 13:32:39 -05:00
2023-04-13 11:49:35 -07:00
2020-01-15 10:54:33 -05:00
2023-02-14 15:43:57 -05:00
2022-11-27 22:09:59 -05:00
2020-07-13 17:52:45 -04:00
2023-06-19 12:10:48 -04:00
2023-06-19 15:10:45 -04:00
2023-06-19 12:10:48 -04:00
2017-11-02 11:10:55 +01:00
2022-10-03 11:26:36 -04:00
2021-04-14 09:36:29 -04:00
2023-04-11 13:08:27 -04:00
2023-04-11 13:08:26 -04:00
2020-12-16 17:25:24 -05:00
2023-02-14 14:22:32 -05:00
2023-02-15 11:07:54 -05:00
2023-02-14 14:22:32 -05:00
2022-02-25 18:50:13 -05:00
2023-04-11 13:08:26 -04:00
2023-06-19 15:03:48 -04:00
2022-05-09 16:36:48 -04:00
2023-04-13 11:49:35 -07:00
2023-06-19 15:08:46 -04:00
2023-06-19 15:04:13 -04:00
2022-11-27 22:10:00 -05:00
2023-02-23 17:09:35 -08:00