0

I just tried to access my superblock information using the code as shown here:- http://paste.pocoo.org/show/340724/

However, I get the error as shown here:- http://paste.pocoo.org/show/340723/

My kernel version is 2.6.31-22-generic and I have not installed any libraries/additional kernel headers for the same. The OS is Ubuntu 9.10.

1 Answers1

2

You need to add

#include <linux/fs.h>

to the top of your source code.

qbert220
  • 11,220
  • 4
  • 31
  • 31