aboutsummaryrefslogtreecommitdiff
path: root/debugfs/unused.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2006-03-18 20:03:47 -0500
committerTheodore Ts'o <tytso@mit.edu>2006-03-18 20:03:47 -0500
commit5d2ef12f6ed4c35c7e6baa7cb83ced738a3f1976 (patch)
tree755cc3e2c1622aa7897998b50f735cff519c68a3 /debugfs/unused.c
parent616059bf23223648bd3bd04b4c7cfe3fb569e46e (diff)
downloade2fsprogs-5d2ef12f6ed4c35c7e6baa7cb83ced738a3f1976.tar.gz
Change resize2fs open modes for mounted and unmounted filesystems
If the filesystem is mounted, open it in read-only mode since the userspace program should not try to modify it directly. If the filesystem is not mounted, open it in exclusive mode to avoid potential problems (such as someone trying to mount the filesystem while it is being resized). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'debugfs/unused.c')
0 files changed, 0 insertions, 0 deletions