summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-10 22:05:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-10 22:05:09 +0200
commitb14e0100f5295abd950eef636fa16df181504401 (patch)
tree8335e68359360ae50064e7164b0a25277fb33ee0 /libdiskfs
parent7c3323a25bc1d5844feb7f9ed241fdbdb4819739 (diff)
Do not cache the R/O proxy
We cannot properly detect when to release the ro_proxy, so let's just not cache it.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/node-drop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c
index aa00cf05..6a8ebd6d 100644
--- a/libdiskfs/node-drop.c
+++ b/libdiskfs/node-drop.c
@@ -41,6 +41,7 @@ diskfs_drop_node (struct node *np)
if (np->dn_stat.st_nlink == 0)
{
diskfs_check_readonly ();
+ // Pb when remounted readonly :/
assert_backtrace (!diskfs_readonly);
if (np->dn_stat.st_mode & S_IPTRANS)