]> asedeno.scripts.mit.edu Git - linux.git/commit
fs/adfs: newdir: split out directory commit from update
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 9 Dec 2019 11:10:47 +0000 (11:10 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Jan 2020 01:12:42 +0000 (20:12 -0500)
commitaacc954c1be8910a994e09a8f8757a2e3e231c37
tree99f06bcba784a12524ca2bd068d3ba9f3fd255ad
parentcc625ccd0e6c2804cd0935743e3b51121a712562
fs/adfs: newdir: split out directory commit from update

After changing a directory, we need to update the sequence numbers and
calculate the new check byte before the directory is scheduled to be
written back to the media.  Since this needs to happen for any change
to the directory, move this into a separate method.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/adfs/adfs.h
fs/adfs/dir.c
fs/adfs/dir_f.c