]> git.baikalelectronics.ru Git - kernel.git/commit
staging: exfat: clean up d_entry rebuilding.
authorTetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>
Mon, 2 Mar 2020 09:57:15 +0000 (18:57 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Mar 2020 06:46:34 +0000 (07:46 +0100)
commit317ee7a4e188404a1916815c4e3b9020b5883904
tree81da8962454893669f3ae80e6eaeaac286154241
parentb05de8dd5dbbc0416d4e1e9f76c563a28e36bff3
staging: exfat: clean up d_entry rebuilding.

Clean up d_entry rebuilding in exfat_rename_file() and move_file().

-Replace memcpy of d_entry with structure copy.
-Change to use the value already stored in fid.

Signed-off-by: Tetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>
Acked-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Link: https://lore.kernel.org/r/20200302095716.64155-1-Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_core.c