24 Jun, 2005
1 commit
-
Various filesystem drivers have grown a get_dentry() function that's a
duplicate of lookup_one_len, except that it doesn't take a maximum length
argument and doesn't check for \0 or / in the passed in filename.Switch all these places to use lookup_one_len.
Signed-off-by: Christoph Hellwig
Cc: Greg KH
Cc: Paul Jackson
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
21 Jun, 2005
6 commits
-
Without this change I can't set an attribute exactly PAGE_SIZE in
length. There is no need for zero termination because the interface
uses lengths.From: Jon Smirl
Signed-off-by: Greg Kroah-Hartman -
o Following patch sets the attributes for newly allocated inodes for sysfs
objects. If the object has non-default attributes, inode attributes are
set as saved in sysfs_dirent->s_iattr, pointer to struct iattr.Signed-off-by: Maneesh Soni
Signed-off-by: Greg Kroah-Hartman -
o This adds ->i_op->setattr VFS method for sysfs inodes. The changed
attribues are saved in the persistent sysfs_dirent structure as a pointer
to struct iattr. The struct iattr is allocated only for those sysfs_dirent's
for which default attributes are getting changed. Thanks to Jon Smirl for
this suggestion.Signed-off-by: Maneesh Soni
Signed-off-by: Greg Kroah-Hartman -
o The following patch makes sure to attach sysfs_dirent to the dentry before
allocation a new inode through sysfs_create(). This change is done as
preparatory work for implementing ->i_op->setattr() functionality for
sysfs objects.Signed-off-by: Maneesh Soni
Signed-off-by: Greg Kroah-Hartman -
sysfs: if attribute does not implement show or store method
read/write should return -EIO instead of 0 or -EINVAL.Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
sysfs: make sysfs_{create|remove}_link to take const char * name.
Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman
01 May, 2005
1 commit
-
Some KernelDoc descriptions are updated to match the current code.
No code changes.Signed-off-by: Martin Waitz
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
19 Apr, 2005
1 commit
-
sysfs: allow changing the permissions for already created attributes
Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!