summaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorOleg Kanatov <okanatov@gmail.com>2022-10-28 15:22:54 +0300
committerDave Kleikamp <dave.kleikamp@oracle.com>2022-11-11 00:22:23 +0300
commita60dca73a1a8079d867b2c2e9549440346c1ba83 (patch)
tree0dd5dbe6120024a988fd4b08217b57ae05b3f2c8 /MAINTAINERS
parentd0e482c45c50117bfb568825a41f0693e5f33c0f (diff)
downloadlinux-a60dca73a1a8079d867b2c2e9549440346c1ba83.tar.xz
jfs: makes diUnmount/diMount in jfs_mount_rw atomic
jfs_mount_rw can call diUnmount and then diMount. These calls change the imap pointer. Between these two calls there may be calls of function jfs_lookup(). The jfs_lookup() function calls jfs_iget(), which, in turn calls diRead(). The latter references the imap pointer. That may cause diRead() to refer to a pointer freed in diUnmount(). This commit makes the calls to diUnmount()/diMount() atomic so that nothing will read the imap pointer until the whole remount is completed. Signed-off-by: Oleg Kanatov <okanatov@gmail.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions