[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2014bcab0905142016k7626acd1m187afb71f9ecc440@mail.gmail.com>
Date: Fri, 15 May 2009 12:16:43 +0900
From: È«½Å shin hong <hongshin@...il.com>
To: linux-ext4@...r.kernel.org
Subject: a suggestion for ext2_release_file()
Hi. I have a suggestion while I read ext2 code in recent Linux.
mark_files_ro() function in fs/super.c turns off FMODE_WRITE
of every file in a super block for the case of remounting.
However, an inode whose file's mode is FMODE_WRITE may hold
reservations. I think these reservations lost their chance to be discarded
since FMODE_WRITE is off.
So, I think ext2_release_file rather check
EXT2_I(inode)->i_block_alloc_info->rsv_window_node.
Could you check my suggestion is valid or not please?
Sincerely
Shin Hong
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists