OSDN Git Service

chattr: allow clearing the extent flag
authorTheodore Ts'o <tytso@mit.edu>
Sat, 23 Feb 2013 03:23:05 +0000 (22:23 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 23 Feb 2013 03:23:05 +0000 (22:23 -0500)
commitbb21ddf59611cc883eeb3c3d149eae35eae9ae30
tree09cf70ae6a1aff98e4ab92a5f03e0f1d0d837b7e
parent7c1384c3242a7ff4e60d40e674077c0c5b124a4d
chattr: allow clearing the extent flag

In order to support kernels which support conversion of extent-mapped
files to direct/indirect mapped files, remove the sanity check which
prevented clearing the extent flag in chattr.  Kernels which don't
support this will simply give an Operation Not Supported error.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/chattr.c