Whamcloud - gitweb
e4defrag: open the file to be defragged in read/write mode
authorDarrick J. Wong <djwong@us.ibm.com>
Mon, 13 Dec 2010 14:23:45 +0000 (09:23 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 13 Dec 2010 14:23:45 +0000 (09:23 -0500)
commit90b9dce3e566613d509554e278c01126c83f8612
treea5a6949e0c1d47e84c1011c9a5d55c196320fedc
parent0358c9f9a43ce0ef33f7891ca9f9d67abd3b4853
e4defrag: open the file to be defragged in read/write mode

Akira Fujita merged a patch into 2.6.33 that adds a requirement that a
file being defragged must be opened with read and write access, so
e2fsprogs needs to satisfy that.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/e4defrag.c