Skip to content

Commit

Permalink
Merge pull request #124 from bazsi/open-qdisk-dirlock-in-rw-mode
Browse files Browse the repository at this point in the history
Open qdisk dirlock in rw mode
  • Loading branch information
MrAnno authored May 24, 2024
2 parents 02486f3 + cbd31a8 commit 23a22df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/diskq/qdisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ _grab_dirlock(const gchar *dir, gint *fd)

g_mutex_lock(&filename_lock);

*fd = open(dirlock_file_path, O_RDONLY | O_CREAT, 0600);
*fd = open(dirlock_file_path, O_RDWR | O_CREAT, 0600);
if (*fd < 0)
{
msg_error("Failed to open disk-buffer dirlock file",
Expand Down

0 comments on commit 23a22df

Please sign in to comment.