Whamcloud - gitweb
libext2fs: set the large_file feature flag when setting i_size > 2GB
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 1 Oct 2013 01:27:28 +0000 (18:27 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Oct 2013 13:14:11 +0000 (09:14 -0400)
commit92a7b0d2e3f7e0ea190477c82edf57fb85eed95c
tree1e6643c67a8942df568bc473cc7710dd2ebc215e
parent7320cb7106e5f5a552d07432e9322e1059c02bf3
libext2fs: set the large_file feature flag when setting i_size > 2GB

If someone tries to write a file that is larger than 2GB, we need to
set the large_file feature flag to affirm that i_size_hi can hold
meaningful contents.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/fileio.c