(__fpathconf): Add support for reiserfs and xfs.
This commit is contained in:
parent
75380e2be2
commit
cd4fba2b2b
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991, 1995, 1996, 1998, 2000 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991,1995,1996,1998,2000,2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -93,6 +93,12 @@ __fpathconf (fd, name)
|
||||
case UFS_CIGAM:
|
||||
return UFS_LINK_MAX;
|
||||
|
||||
case REISERFS_SUPER_MAGIC:
|
||||
return REISERFS_LINK_MAX;
|
||||
|
||||
case XFS_SUPER_MAGIC:
|
||||
return XFS_LINK_MAX;
|
||||
|
||||
default:
|
||||
return LINUX_LINK_MAX;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user