Whamcloud - gitweb
misc: don't return ENOMEM if we run out of disk space
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Sep 2014 23:11:55 +0000 (16:11 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Sep 2014 16:40:54 +0000 (12:40 -0400)
commit4f769f4c03e7b3a8dd5ca129bbb820f0d00f2423
tree4ce0389ee7dee1f3605d293c6b17460410ef0e12
parentf92c600c09bbda482c6c4a37602db4f0db864a9e
misc: don't return ENOMEM if we run out of disk space

If there aren't enough blocks in the FS to allocate all of the
hugefiles, return ENOSPC, not ENOMEM.

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